[gnome-user-share] obex: Remove unused on_agent_unregistered() callback
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-user-share] obex: Remove unused on_agent_unregistered() callback
- Date: Tue, 12 Nov 2013 13:20:38 +0000 (UTC)
commit 3d972b73f2f213b4c4367691fd46059cb330a5fc
Author: Bastien Nocera <hadess hadess net>
Date: Thu Nov 7 10:26:07 2013 +0100
obex: Remove unused on_agent_unregistered() callback
src/obexpush.c | 21 +--------------------
1 files changed, 1 insertions(+), 20 deletions(-)
---
diff --git a/src/obexpush.c b/src/obexpush.c
index 7fc9d34..ea18a3e 100644
--- a/src/obexpush.c
+++ b/src/obexpush.c
@@ -602,25 +602,6 @@ on_agent_registered (GObject *source_object,
}
static void
-on_agent_unregistered (GObject *source_object,
- GAsyncResult *res,
- gpointer user_data)
-{
- GError *error = NULL;
- GVariant *v;
-
- v = g_dbus_proxy_call_finish (manager, res, &error);
-
- if (error) {
- g_warning ("error: %s", error->message);
- g_error_free (error);
- return;
- }
-
- g_variant_unref (v);
-}
-
-static void
on_proxy_acquired (GObject *source_object,
GAsyncResult *res,
gpointer user_data)
@@ -714,7 +695,7 @@ obex_agent_down (void)
G_DBUS_CALL_FLAGS_NONE,
-1,
NULL,
- on_agent_unregistered,
+ NULL,
NULL);
g_clear_object (&manager);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]