diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-10-02 19:50:48 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-10-03 00:39:24 +0800 |
commit | ce267d2301d36626dc4de3be5ce3b4b28c9eb0a6 (patch) | |
tree | 4ea8a2e3cb9dc95d30d059ec0f88e52c474357b5 | |
parent | e2e96275266ab5c3435d5a68750ac358b6ec3580 (diff) | |
download | gsoc2013-empathy-ce267d2301d36626dc4de3be5ce3b4b28c9eb0a6.tar gsoc2013-empathy-ce267d2301d36626dc4de3be5ce3b4b28c9eb0a6.tar.gz gsoc2013-empathy-ce267d2301d36626dc4de3be5ce3b4b28c9eb0a6.tar.bz2 gsoc2013-empathy-ce267d2301d36626dc4de3be5ce3b4b28c9eb0a6.tar.lz gsoc2013-empathy-ce267d2301d36626dc4de3be5ce3b4b28c9eb0a6.tar.xz gsoc2013-empathy-ce267d2301d36626dc4de3be5ce3b4b28c9eb0a6.tar.zst gsoc2013-empathy-ce267d2301d36626dc4de3be5ce3b4b28c9eb0a6.zip |
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.
-rw-r--r-- | src/empathy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/empathy.c b/src/empathy.c index 8a2f107b7..c160ed570 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -833,6 +833,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); @@ -889,7 +891,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", |