aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-02 19:50:48 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-02 22:41:48 +0800
commitd734b80c282ebb9120c630e1d6e7a8bad289daff (patch)
treed5437b07644e1dd0fec8aea20d044a8b8e608ac6 /src/empathy.c
parentea995fbc6cc94712a4d10d931f48121c939db437 (diff)
downloadgsoc2013-empathy-d734b80c282ebb9120c630e1d6e7a8bad289daff.tar
gsoc2013-empathy-d734b80c282ebb9120c630e1d6e7a8bad289daff.tar.gz
gsoc2013-empathy-d734b80c282ebb9120c630e1d6e7a8bad289daff.tar.bz2
gsoc2013-empathy-d734b80c282ebb9120c630e1d6e7a8bad289daff.tar.lz
gsoc2013-empathy-d734b80c282ebb9120c630e1d6e7a8bad289daff.tar.xz
gsoc2013-empathy-d734b80c282ebb9120c630e1d6e7a8bad289daff.tar.zst
gsoc2013-empathy-d734b80c282ebb9120c630e1d6e7a8bad289daff.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.
Diffstat (limited to 'src/empathy.c')
-rw-r--r--src/empathy.c3
1 files changed, 2 insertions, 1 deletions
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",