[Telepathy-commits] [telepathy-gabble/master] tube_dbus_open: no need to check if there is already a D-Bus server as gabble_tube_dbus_listen will do it too
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Mon Oct 27 08:23:38 PDT 2008
---
src/tube-dbus.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/tube-dbus.c b/src/tube-dbus.c
index 689ec8d..62c3f99 100644
--- a/src/tube-dbus.c
+++ b/src/tube-dbus.c
@@ -349,10 +349,7 @@ tube_dbus_open (GabbleTubeDBus *self)
{
GabbleTubeDBusPrivate *priv = GABBLE_TUBE_DBUS_GET_PRIVATE (self);
- if (priv->dbus_srv_addr == NULL)
- {
- gabble_tube_dbus_listen (self);
- }
+ gabble_tube_dbus_listen (self);
if (priv->dbus_srv_addr != NULL)
{
@@ -741,6 +738,7 @@ gabble_tube_dbus_constructor (GType type,
priv->reassembly_bytes_needed = 0;
}
+
return obj;
}
--
1.5.6.5
More information about the Telepathy-commits
mailing list