From 1fe486f1ef23907938172a25e95fc377d9783d50 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 10 Mar 2011 22:02:32 -0600 Subject: Use the shared header file for the service and interface names. --- src/datetime-prefs.c | 5 ++--- 1 file 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 . #include #include +#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 -- cgit v1.2.3