diff options
author | Ted Gould <ted@canonical.com> | 2009-11-23 17:33:26 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-11-23 17:33:26 -0600 |
commit | f0b58f56e4495d5a499fe165f1a7c48aac11e5ef (patch) | |
tree | 010317d10e2f2931718ac4919fc04ea042018bbc /src | |
parent | 756b6c9aa6b03489fb47b2ecc82944df0fd54bad (diff) | |
download | libayatana-appindicator-f0b58f56e4495d5a499fe165f1a7c48aac11e5ef.tar.gz libayatana-appindicator-f0b58f56e4495d5a499fe165f1a7c48aac11e5ef.tar.bz2 libayatana-appindicator-f0b58f56e4495d5a499fe165f1a7c48aac11e5ef.zip |
Moving the registration of the marshallers until after the proxy. Odd that I'd have to do this, but let's try.
Diffstat (limited to 'src')
-rw-r--r-- | src/indicator-custom.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/indicator-custom.c b/src/indicator-custom.c index a32db80..e505e7a 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; } @@ -176,6 +172,10 @@ 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 */ dbus_g_proxy_add_signal(priv->service_proxy, "ApplicationAdded", |