aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-service.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2009-12-01 16:34:32 -0600
committerTed Gould <ted@gould.cx>2009-12-01 16:34:32 -0600
commitaa951a3eb41ba3e4c9fcf9732992aa6e28dc83a8 (patch)
tree2c42be9ebf202e375444e9eb8513735b1419fd5e /libindicator/indicator-service.c
parentad2ef4d35017d674caecc65ccde4e500b0740982 (diff)
downloadlibayatana-indicator-aa951a3eb41ba3e4c9fcf9732992aa6e28dc83a8.tar.gz
libayatana-indicator-aa951a3eb41ba3e4c9fcf9732992aa6e28dc83a8.tar.bz2
libayatana-indicator-aa951a3eb41ba3e4c9fcf9732992aa6e28dc83a8.zip
Change the watch function to return both an API version and a user set version.
Diffstat (limited to 'libindicator/indicator-service.c')
-rw-r--r--libindicator/indicator-service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libindicator/indicator-service.c b/libindicator/indicator-service.c
index 69422c5..a4cdb68 100644
--- a/libindicator/indicator-service.c
+++ b/libindicator/indicator-service.c
@@ -305,7 +305,7 @@ _indicator_service_server_watch (IndicatorService * service, DBusGMethodInvocati
priv->timeout = 0;
}
- dbus_g_method_return(method, 1);
+ dbus_g_method_return(method, INDICATOR_SERVICE_VERSION, 0);
return TRUE;
}