aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-01-09 16:58:41 -0600
committerTed Gould <ted@gould.cx>2011-01-09 16:58:41 -0600
commit664e39bbed088df649d3135a0fd1c09f1fd882b6 (patch)
treec3f024bbab3d81ec6043b3f0adb3c405c4bcb10d
parent8d3f43fcf3a1cbf9f325360fa0f97f576ff7b002 (diff)
downloadlibayatana-indicator-664e39bbed088df649d3135a0fd1c09f1fd882b6.tar.gz
libayatana-indicator-664e39bbed088df649d3135a0fd1c09f1fd882b6.tar.bz2
libayatana-indicator-664e39bbed088df649d3135a0fd1c09f1fd882b6.zip
Using variant_unref instead of object_unref as it's a variant
-rw-r--r--libindicator/indicator-service-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libindicator/indicator-service-manager.c b/libindicator/indicator-service-manager.c
index c85f97b..4f98a5c 100644
--- a/libindicator/indicator-service-manager.c
+++ b/libindicator/indicator-service-manager.c
@@ -370,7 +370,7 @@ watch_cb (GObject * object, GAsyncResult * res, gpointer user_data)
guint this_service_version;
g_variant_get(params, "(uu)", &service_api_version, &this_service_version);
- g_object_unref(params);
+ g_variant_unref(params);
/* We've done it, now let's stop counting. */
/* Note: we're not checking versions. Because, the hope is that