aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/session-service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/session-service.c b/src/session-service.c
index b88ee30..75c8650 100644
--- a/src/session-service.c
+++ b/src/session-service.c
@@ -674,6 +674,8 @@ main (int argc, char ** argv)
INDICATOR_SERVICE_SIGNAL_SHUTDOWN,
G_CALLBACK(service_shutdown), NULL);
+ session_dbus = session_dbus_new();
+
g_idle_add(lock_screen_setup, NULL);
root_menuitem = dbusmenu_menuitem_new();
@@ -699,8 +701,6 @@ main (int argc, char ** argv)
DbusmenuServer * server = dbusmenu_server_new(INDICATOR_SESSION_DBUS_OBJECT);
dbusmenu_server_set_root(server, root_menuitem);
- session_dbus = session_dbus_new();
-
mainloop = g_main_loop_new(NULL, FALSE);
g_main_loop_run(mainloop);