From 991b87f5eb605a50f3b5a174b9657ae4ebe236e2 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 7 Jan 2011 15:35:34 -0600 Subject: Little clean-ups the compiler found now that it's more happy. --- libindicator/indicator-service.c | 5 +++-- 1 file 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; } -- cgit v1.2.3