aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-11-23 17:38:00 -0600
committerTed Gould <ted@canonical.com>2009-11-23 17:38:00 -0600
commit6caead9f4b7ac3ec6347a83eb69979add5db8632 (patch)
tree620616543b086ff5f47eea9ee62f59ee4cc530b9 /src
parentf0b58f56e4495d5a499fe165f1a7c48aac11e5ef (diff)
downloadayatana-indicator-application-6caead9f4b7ac3ec6347a83eb69979add5db8632.tar.gz
ayatana-indicator-application-6caead9f4b7ac3ec6347a83eb69979add5db8632.tar.bz2
ayatana-indicator-application-6caead9f4b7ac3ec6347a83eb69979add5db8632.zip
I really shouldn't have to register marshalers. Srsly.
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 e505e7a..964d8aa 100644
--- a/src/indicator-custom.c
+++ b/src/indicator-custom.c
@@ -172,11 +172,8 @@ connected (IndicatorServiceManager * sm, gboolean connected, IndicatorCustom * c
INDICATOR_CUSTOM_DBUS_IFACE,
&error);
- /* 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);
-
/* 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);