[empathy] initialize libnotify earlier in main()



commit d734b80c282ebb9120c630e1d6e7a8bad289daff
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Fri Oct 2 12:50:48 2009 +0100

    initialize libnotify earlier in main()
    
    The status icon will have to query the notify daemon during its
    construction so libnotify has to be already initialized.

 src/empathy.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy.c b/src/empathy.c
index 1d478c3..1226b55 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -845,6 +845,8 @@ main (int argc, char *argv[])
       return 0;
     }
 
+  notify_init (_(PACKAGE_NAME));
+
   /* Setting up Idle */
   idle = empathy_idle_dup_singleton ();
   empathy_idle_set_auto_away (idle, TRUE);
@@ -901,7 +903,6 @@ main (int argc, char *argv[])
       chatroom_manager_ready_cb (chatroom_manager, NULL, account_manager);
     }
 
-  notify_init (_(PACKAGE_NAME));
   /* Create the call factory */
   call_factory = empathy_call_factory_initialise ();
   g_signal_connect (G_OBJECT (call_factory), "new-call-handler",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]