aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Russell <crussell@canonical.com>2009-09-22 15:42:19 -0500
committerCody Russell <crussell@canonical.com>2009-09-22 15:42:19 -0500
commit15e2e5192dce211e3d6d8f4dfa0bf1690ca3a77d (patch)
tree53835b02ca6a1592f137f11ea6fc2c576226c8fb
parent91c2993398771ca1ff5a65003c681724291d9e2f (diff)
downloadayatana-indicator-session-15e2e5192dce211e3d6d8f4dfa0bf1690ca3a77d.tar.gz
ayatana-indicator-session-15e2e5192dce211e3d6d8f4dfa0bf1690ca3a77d.tar.bz2
ayatana-indicator-session-15e2e5192dce211e3d6d8f4dfa0bf1690ca3a77d.zip
register marshallers
-rw-r--r--src/users-service-dbus.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/users-service-dbus.c b/src/users-service-dbus.c
index ce22e6f..18a1b2a 100644
--- a/src/users-service-dbus.c
+++ b/src/users-service-dbus.c
@@ -224,23 +224,28 @@ users_service_dbus_init (UsersServiceDbus *self)
priv->error = g_strdup_printf ("Unable to get DisplayManager proxy: %s", error->message);
}
+ dbus_g_object_register_marshaller (_users_service_marshal_VOID__INT64,
+ G_TYPE_NONE,
+ G_TYPE_INT64,
+ G_TYPE_INVALID);
+
dbus_g_proxy_add_signal (priv->gdm_proxy,
"UsersLoaded",
G_TYPE_INVALID);
dbus_g_proxy_add_signal (priv->gdm_proxy,
"UserAdded",
- G_TYPE_UINT64,
+ G_TYPE_INT64,
G_TYPE_INVALID);
dbus_g_proxy_add_signal (priv->gdm_proxy,
"UserRemoved",
- G_TYPE_UINT64,
+ G_TYPE_INT64,
G_TYPE_INVALID);
dbus_g_proxy_add_signal (priv->gdm_proxy,
"UserUpdated",
- G_TYPE_UINT64,
+ G_TYPE_INT64,
G_TYPE_INVALID);
dbus_g_proxy_connect_signal (priv->gdm_proxy,