aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy.c
diff options
context:
space:
mode:
authorPierre-Luc Beaudoin <pierre-luc@pierlux.com>2008-11-29 12:01:20 +0800
committerPierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk>2009-06-01 23:35:28 +0800
commit2c0aa5b450b8b3743c00e9bdcc34851358976e40 (patch)
treec77c2901f9d630940f04b52bd05c0458e8400182 /src/empathy.c
parentc6d064ad5952f233d583ccd420c502b581d57a8c (diff)
downloadgsoc2013-empathy-2c0aa5b450b8b3743c00e9bdcc34851358976e40.tar
gsoc2013-empathy-2c0aa5b450b8b3743c00e9bdcc34851358976e40.tar.gz
gsoc2013-empathy-2c0aa5b450b8b3743c00e9bdcc34851358976e40.tar.bz2
gsoc2013-empathy-2c0aa5b450b8b3743c00e9bdcc34851358976e40.tar.lz
gsoc2013-empathy-2c0aa5b450b8b3743c00e9bdcc34851358976e40.tar.xz
gsoc2013-empathy-2c0aa5b450b8b3743c00e9bdcc34851358976e40.tar.zst
gsoc2013-empathy-2c0aa5b450b8b3743c00e9bdcc34851358976e40.zip
Add EmpathyLocationManager
Diffstat (limited to 'src/empathy.c')
-rw-r--r--src/empathy.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/empathy.c b/src/empathy.c
index 72cccb55e..66bb2c119 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -55,6 +55,7 @@
#include <libempathy-gtk/empathy-conf.h>
#include <libempathy-gtk/empathy-ui-utils.h>
+#include <libempathy-gtk/empathy-location-manager.h>
#include "empathy-accounts-dialog.h"
#include "empathy-main-window.h"
@@ -421,6 +422,7 @@ int
main (int argc, char *argv[])
{
guint32 startup_timestamp;
+ EmpathyLocationManager *location_manager;
EmpathyStatusIcon *icon;
EmpathyDispatcher *dispatcher;
EmpathyLogManager *log_manager;
@@ -582,6 +584,9 @@ main (int argc, char *argv[])
g_signal_connect (G_OBJECT (call_factory), "new-call-handler",
G_CALLBACK (new_call_handler_cb), NULL);
+ /* Location mananger */
+ location_manager = empathy_location_manager_get_default ();
+
gtk_main ();
empathy_idle_set_state (idle, TP_CONNECTION_PRESENCE_TYPE_OFFLINE);
@@ -593,6 +598,7 @@ main (int argc, char *argv[])
g_object_unref (dispatcher);
g_object_unref (chatroom_manager);
g_object_unref (ft_manager);
+ g_object_unref (location_manager);
notify_uninit ();