diff options
author | Fabrice Bellet <fabrice@bellet.info> | 2015-03-22 13:49:12 +0100 |
---|---|---|
committer | Debarshi Ray <debarshir@gnome.org> | 2015-03-23 15:19:04 +0100 |
commit | c10bbdcc3a0ac786bfb6a55e0c857270022a38f7 (patch) | |
tree | 2a5751ef65321054f2f4f87b8f0fc35f16a8a1d1 | |
parent | 6cf30c4c6c50d93efd4834523923eb4cfecefdc4 (diff) | |
download | empathy-c10bbdcc3a0ac786bfb6a55e0c857270022a38f7.tar.gz |
geoclue-helper: Provide a DesktopId
https://bugzilla.gnome.org/show_bug.cgi?id=746612
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | libempathy-gtk/empathy-geoclue-helper.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 3c49d8abc..93ec215e1 100644 --- a/configure.ac +++ b/configure.ac @@ -73,7 +73,7 @@ GOA_REQUIRED=3.5.1 # Optional deps ENCHANT_REQUIRED=1.2.0 -GEOCLUE_REQUIRED=1.99.3 +GEOCLUE_REQUIRED=2.1.0 GEOCODE_GLIB_REQUIRED=0.99.1 ISO_CODES_REQUIRED=0.35 NAUTILUS_SENDTO_REQUIRED=2.90.0 diff --git a/libempathy-gtk/empathy-geoclue-helper.c b/libempathy-gtk/empathy-geoclue-helper.c index 97d4fc6d3..f04aed7fd 100644 --- a/libempathy-gtk/empathy-geoclue-helper.c +++ b/libempathy-gtk/empathy-geoclue-helper.c @@ -28,6 +28,7 @@ #include "empathy-debug.h" #define GEOCLUE_BUS_NAME "org.freedesktop.GeoClue2" +#define EMPATHY_DESKTOP_ID "empathy" /** * SECTION: empathy-geoclue-helper @@ -305,6 +306,7 @@ client_cb (GObject *source, g_object_set (self->priv->client, "distance-threshold", self->priv->distance_threshold, + "desktop-id", EMPATHY_DESKTOP_ID, NULL); g_task_return_boolean (task, TRUE); |