aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-service-manager.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-11-03 22:40:05 -0600
committerTed Gould <ted@canonical.com>2009-11-03 22:40:05 -0600
commitcfa83c08d769ba10eb90718e3c856b18e49c691b (patch)
treead4065077f875e7f2a68157b764f427e7b38c152 /libindicator/indicator-service-manager.c
parent9fa35baeaeb00305c0c446fdcbb54e58fa743f3b (diff)
downloadlibayatana-indicator-cfa83c08d769ba10eb90718e3c856b18e49c691b.tar.gz
libayatana-indicator-cfa83c08d769ba10eb90718e3c856b18e49c691b.tar.bz2
libayatana-indicator-cfa83c08d769ba10eb90718e3c856b18e49c691b.zip
Changing version to service_version
Diffstat (limited to 'libindicator/indicator-service-manager.c')
-rw-r--r--libindicator/indicator-service-manager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libindicator/indicator-service-manager.c b/libindicator/indicator-service-manager.c
index 656472d..4eaed23 100644
--- a/libindicator/indicator-service-manager.c
+++ b/libindicator/indicator-service-manager.c
@@ -232,7 +232,7 @@ get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspe
}
static void
-watch_cb (DBusGProxy * proxy, gint version, GError * error, gpointer user_data)
+watch_cb (DBusGProxy * proxy, gint service_version, GError * error, gpointer user_data)
{
IndicatorServiceManagerPrivate * priv = INDICATOR_SERVICE_MANAGER_GET_PRIVATE(user_data);
@@ -242,8 +242,8 @@ watch_cb (DBusGProxy * proxy, gint version, GError * error, gpointer user_data)
return;
}
- if (version != INDICATOR_SERVICE_VERSION) {
- g_warning("Service is using a different version of the service interface. Expecting %d and got %d.", INDICATOR_SERVICE_VERSION, version);
+ if (service_version != INDICATOR_SERVICE_VERSION) {
+ g_warning("Service is using a different version of the service interface. Expecting %d and got %d.", INDICATOR_SERVICE_VERSION, service_version);
return;
}