From d734b80c282ebb9120c630e1d6e7a8bad289daff Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 2 Oct 2009 12:50:48 +0100 Subject: 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 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/empathy.c b/src/empathy.c index 1d478c357..1226b55dd 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", -- cgit v1.2.3