diff options
author | Ted Gould <ted@gould.cx> | 2011-01-07 15:35:34 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-01-07 15:35:34 -0600 |
commit | 991b87f5eb605a50f3b5a174b9657ae4ebe236e2 (patch) | |
tree | 81237199e2a033cfd9f7696544bcb1c55b84cf4f /libindicator/indicator-service.c | |
parent | 2696619d1644b71ceeebea7d96dfa9349fadd0e2 (diff) | |
download | libayatana-indicator-991b87f5eb605a50f3b5a174b9657ae4ebe236e2.tar.gz libayatana-indicator-991b87f5eb605a50f3b5a174b9657ae4ebe236e2.tar.bz2 libayatana-indicator-991b87f5eb605a50f3b5a174b9657ae4ebe236e2.zip |
Little clean-ups the compiler found now that it's more happy.
Diffstat (limited to 'libindicator/indicator-service.c')
-rw-r--r-- | libindicator/indicator-service.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libindicator/indicator-service.c b/libindicator/indicator-service.c index 5f2ed87..d6c1f34 100644 --- a/libindicator/indicator-service.c +++ b/libindicator/indicator-service.c @@ -35,6 +35,7 @@ static void unwatch_core (IndicatorService * service, const gchar * name); static void proxy_destroyed (GObject * proxy, gpointer user_data); static gboolean watchers_remove (gpointer key, gpointer value, gpointer user_data); static void bus_get_cb (GObject * object, GAsyncResult * res, gpointer user_data); +static GVariant * bus_watch (IndicatorService * service, const gchar * sender); /* Private Stuff */ /** @@ -385,7 +386,7 @@ bus_method_call (GDBusConnection * connection, const gchar * sender, const gchar g_warning("Calling method '%s' on the indicator service and it's unknown", method); } - g_method_invocation_return_value(invocation, retval); + g_dbus_method_invocation_return_value(invocation, retval); return; } @@ -447,7 +448,7 @@ try_and_get_name_lost_cb (GDBusConnection * connection, const gchar * name, gpoi g_return_if_fail(INDICATOR_IS_SERVICE(user_data)); g_warning("Name request failed."); - g_signal_emit(G_OBJECT(data), signals[SHUTDOWN], 0, TRUE); + g_signal_emit(G_OBJECT(user_data), signals[SHUTDOWN], 0, TRUE); return; } |