1 diff -up ConsoleKit-0.4.1/src/main.c.reorder-initialization ConsoleKit-0.4.1/src/main.c
2 --- ConsoleKit-0.4.1/src/main.c.reorder-initialization 2009-12-18 14:51:38.821212946 -0500
3 +++ ConsoleKit-0.4.1/src/main.c 2009-12-18 14:52:19.246211176 -0500
4 @@ -294,11 +294,19 @@ main (int argc,
6 setup_debug_log (debug);
8 + g_debug ("initializing console-kit-daemon %s", VERSION);
10 connection = get_system_bus ();
11 if (connection == NULL) {
15 + manager = ck_manager_new ();
17 + if (manager == NULL) {
21 bus_proxy = get_bus_proxy (connection);
22 if (bus_proxy == NULL) {
23 g_warning ("Could not construct bus_proxy object; bailing out");
24 @@ -310,16 +318,8 @@ main (int argc,
28 - g_debug ("initializing console-kit-daemon %s", VERSION);
32 - manager = ck_manager_new ();
34 - if (manager == NULL) {
38 loop = g_main_loop_new (NULL, FALSE);
40 g_signal_connect (bus_proxy,