aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/indicator-custom.c7
1 files changed, 3 insertions, 4 deletions
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);