[empathy: 6/15] Output the path before trying to register it



commit 871cd053641dfb087db16e120c53c338cc442d4a
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Tue Sep 1 16:19:54 2009 +0100

    Output the path before trying to register it

 libempathy/empathy-handler.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-handler.c b/libempathy/empathy-handler.c
index 715d5a8..c11227f 100644
--- a/libempathy/empathy-handler.c
+++ b/libempathy/empathy-handler.c
@@ -102,12 +102,12 @@ handler_constructor (GType type,
 
   dbus = tp_dbus_daemon_dup (NULL);
 
+  DEBUG ("Registering at '%s'", object_path);
   g_assert (tp_dbus_daemon_request_name (dbus,
     priv->busname, TRUE, NULL));
   dbus_g_connection_register_g_object (tp_get_bus (),
     object_path, obj);
 
-  DEBUG ("Registered at '%s'", object_path);
 
   g_free (object_path);
   g_object_unref (dbus);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]