aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-08 19:48:20 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-08 19:48:20 +0000
commitda8cf48c91fafd2428113f67645fa5ceeb713e0d (patch)
tree4d648d1283b907466f863306beeb44584ca04b21 /src
parent111c622b5df87fca1bd5b2218515c7af81f69eb5 (diff)
downloadayatana-indicator-datetime-da8cf48c91fafd2428113f67645fa5ceeb713e0d.tar.gz
ayatana-indicator-datetime-da8cf48c91fafd2428113f67645fa5ceeb713e0d.tar.bz2
ayatana-indicator-datetime-da8cf48c91fafd2428113f67645fa5ceeb713e0d.zip
src/timezone-geoclue.cpp: Blind shot at switching to Geoclue2 DBus API.
Diffstat (limited to 'src')
-rw-r--r--src/timezone-geoclue.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/timezone-geoclue.cpp b/src/timezone-geoclue.cpp
index 50ebbcd..816e075 100644
--- a/src/timezone-geoclue.cpp
+++ b/src/timezone-geoclue.cpp
@@ -89,8 +89,8 @@ private:
g_dbus_connection_call(self->m_bus,
GEOCLUE_BUS_NAME,
- "/org/freedesktop/Geoclue/Master",
- "org.freedesktop.Geoclue.Master",
+ "/org/freedesktop/Geoclue2/Master",
+ "org.freedesktop.Geoclue2.Master",
"Create",
nullptr, // parameters
G_VARIANT_TYPE("(o)"),
@@ -117,7 +117,7 @@ private:
auto tag = g_dbus_connection_signal_subscribe(self->m_bus,
GEOCLUE_BUS_NAME,
- "org.freedesktop.Geoclue.Address", // interface
+ "org.freedesktop.Geoclue2.Address", // interface
"AddressChanged", // signal name
self->m_client_object_path.c_str(), // object path
nullptr, // arg0
@@ -130,7 +130,7 @@ private:
g_dbus_connection_call(self->m_bus,
GEOCLUE_BUS_NAME,
self->m_client_object_path.c_str(),
- "org.freedesktop.Geoclue.MasterClient",
+ "org.freedesktop.Geoclue2.MasterClient",
"SetRequirements",
g_variant_new("(iibi)", 2, 0, FALSE, 1023),
nullptr,
@@ -164,7 +164,7 @@ private:
g_dbus_connection_call(self->m_bus,
GEOCLUE_BUS_NAME,
self->m_client_object_path.c_str(),
- "org.freedesktop.Geoclue.MasterClient",
+ "org.freedesktop.Geoclue2.MasterClient",
"AddressStart",
nullptr,
nullptr,
@@ -189,7 +189,7 @@ private:
g_dbus_connection_call(self->m_bus,
GEOCLUE_BUS_NAME,
self->m_client_object_path.c_str(),
- "org.freedesktop.Geoclue.Address",
+ "org.freedesktop.Geoclue2.Address",
"GetAddress",
nullptr,
G_VARIANT_TYPE("(ia{ss}(idd))"),