aboutsummaryrefslogtreecommitdiff
path: root/src/session-service.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-04-06 11:49:10 -0500
committerTed Gould <ted@gould.cx>2010-04-06 11:49:10 -0500
commita8a52218ac55b27ed2b27ae44993bf2f35165e4d (patch)
tree770b1805b97ded721a7c8ae22f97ff6fb570aeda /src/session-service.c
parent5e7e4f68252ed54b8bd704c14ed5a5fae79def71 (diff)
downloadayatana-indicator-session-a8a52218ac55b27ed2b27ae44993bf2f35165e4d.tar.gz
ayatana-indicator-session-a8a52218ac55b27ed2b27ae44993bf2f35165e4d.tar.bz2
ayatana-indicator-session-a8a52218ac55b27ed2b27ae44993bf2f35165e4d.zip
Actually pass the service in the callback
Diffstat (limited to 'src/session-service.c')
-rw-r--r--src/session-service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session-service.c b/src/session-service.c
index 3b3106a..c522748 100644
--- a/src/session-service.c
+++ b/src/session-service.c
@@ -545,7 +545,7 @@ rebuild_items (DbusmenuMenuitem *root,
dbusmenu_menuitem_property_set (guest_mi, USER_ITEM_PROP_NAME, _("Guest Session"));
dbusmenu_menuitem_property_set_bool (guest_mi, USER_ITEM_PROP_LOGGED_IN, FALSE);
dbusmenu_menuitem_child_append (root, guest_mi);
- g_signal_connect (G_OBJECT (guest_mi), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK (activate_guest_session), NULL);
+ g_signal_connect (G_OBJECT (guest_mi), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK (activate_guest_session), service);
users_service_dbus_set_guest_item(service, guest_mi);
}