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



commit a62dbcfb64d5a86a990bfbf4fc622f7c7129ae7a
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 6f13261..479a097 100644
--- a/src/libtracker-common/tracker-dbus.c
+++ b/src/libtracker-common/tracker-dbus.c
@@ -464,32 +464,6 @@ tracker_dbus_g_request_begin (DBusGMethodInvocation *context,
 	return request;
 }
 
-// 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]