diff options
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | src/indicator-custom.c | 7 |
2 files changed, 9 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog index e9a1abf..0c959dd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +indicator-custom (0.0.1-0ubuntu3~ppa1~service6) karmic; urgency=low + + * Debug messages + + -- Ted Gould <ted@ubuntu.com> Mon, 23 Nov 2009 17:39:18 -0600 + indicator-custom (0.0.1-0ubuntu3~ppa1~service5) karmic; urgency=low * Forgot return types. diff --git a/src/indicator-custom.c b/src/indicator-custom.c index a32db80..964d8aa 100644 --- a/src/indicator-custom.c +++ b/src/indicator-custom.c @@ -88,10 +88,6 @@ indicator_custom_class_init (IndicatorCustomClass *klass) io_class->get_entries = get_entries; - /* Register the marshallers for the dbus signals */ - dbus_g_object_register_marshaller(g_cclosure_marshal_VOID__INT, G_TYPE_NONE, G_TYPE_INT, G_TYPE_INVALID); - dbus_g_object_register_marshaller(_custom_service_marshal_VOID__STRING_INT_STRING_STRING, G_TYPE_NONE, G_TYPE_STRING, G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INVALID); - return; } @@ -177,6 +173,7 @@ connected (IndicatorServiceManager * sm, gboolean connected, IndicatorCustom * c &error); /* Set up proxy signals */ + g_debug("Setup proxy signals"); dbus_g_proxy_add_signal(priv->service_proxy, "ApplicationAdded", G_TYPE_STRING, @@ -190,6 +187,7 @@ connected (IndicatorServiceManager * sm, gboolean connected, IndicatorCustom * c G_TYPE_NONE); /* Connect to them */ + g_debug("Connect to them."); dbus_g_proxy_connect_signal(priv->service_proxy, "ApplicationAdded", G_CALLBACK(application_added), @@ -202,6 +200,7 @@ connected (IndicatorServiceManager * sm, gboolean connected, IndicatorCustom * c NULL /* Disconnection Signal */); /* Query it for existing applications */ + g_debug("Request current apps"); org_ayatana_indicator_custom_service_get_applications_async(priv->service_proxy, get_applications, custom); |