aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-03-10 22:02:32 -0600
committerTed Gould <ted@gould.cx>2011-03-10 22:02:32 -0600
commit1fe486f1ef23907938172a25e95fc377d9783d50 (patch)
treee571fd3e69ab2b1c0503fd41216c8be9c745983f /src
parent6b45333cec98af6d488fff6e7fccd42673a42a85 (diff)
downloadayatana-indicator-datetime-1fe486f1ef23907938172a25e95fc377d9783d50.tar.gz
ayatana-indicator-datetime-1fe486f1ef23907938172a25e95fc377d9783d50.tar.bz2
ayatana-indicator-datetime-1fe486f1ef23907938172a25e95fc377d9783d50.zip
Use the shared header file for the service and interface names.
Diffstat (limited to 'src')
-rw-r--r--src/datetime-prefs.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/datetime-prefs.c b/src/datetime-prefs.c
index f38a863..fbc88f2 100644
--- a/src/datetime-prefs.c
+++ b/src/datetime-prefs.c
@@ -35,6 +35,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include <unique/unique.h>
#include <polkitgtk/polkitgtk.h>
+#include "dbus-shared.h"
#include "settings-shared.h"
#include "utils.h"
#include "datetime-prefs-locations.h"
@@ -670,9 +671,7 @@ create_dialog (void)
would have been started by any such indicator, so this will at least tell
us if there *was* a datetime module run this session. */
g_dbus_proxy_new_for_bus (G_BUS_TYPE_SESSION, G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START, NULL,
- "com.canonical.indicator.datetime",
- "/com/canonical/indicator/datetime/service",
- "com.canonical.indicator.datetime.service",
+ SERVICE_NAME, SERVICE_OBJ, SERVICE_IFACE,
NULL, service_proxy_ready, WIG ("showClockCheck"));
#undef WIG