[tracker/gdbus-porting] libtracker-common: Remove unused function



commit 0b77de6068b79a833c0496f4bb6bc84d0e693ebb
Author: Philip Van Hoof <philip codeminded be>
Date:   Wed Jan 5 12:05:01 2011 +0100

    libtracker-common: Remove unused function

 src/libtracker-common/tracker-dbus.c |   26 --------------------------
 1 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/src/libtracker-common/tracker-dbus.c b/src/libtracker-common/tracker-dbus.c
index a242807..cc8ccf2 100644
--- a/src/libtracker-common/tracker-dbus.c
+++ b/src/libtracker-common/tracker-dbus.c
@@ -626,32 +626,6 @@ tracker_dbus_enable_client_lookup (gboolean enabled)
 	client_lookup_enabled = enabled;
 }
 
-// todo remove
-static GStrv
-dbus_send_and_splice_get_variable_names (DBusMessage  *message,
-                                         gboolean      copy_strings)
-{
-	GPtrArray *found;
-	DBusMessageIter iter, arr;
-
-	dbus_message_iter_init (message, &iter);
-	dbus_message_iter_recurse (&iter, &arr);
-
-	found = g_ptr_array_new ();
-
-	while (dbus_message_iter_get_arg_type (&arr) != DBUS_TYPE_INVALID) {
-		gchar *str;
-
-		dbus_message_iter_get_basic (&arr, &str);
-		g_ptr_array_add (found, copy_strings ? g_strdup (str) : str);
-		dbus_message_iter_next (&arr);
-	}
-
-	g_ptr_array_add (found, NULL);
-
-	return (GStrv) g_ptr_array_free (found, FALSE);
-}
-
 static SendAndSpliceData *
 send_and_splice_data_new (GInputStream                     *unix_input_stream,
                           GInputStream                     *buffered_input_stream,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]