[tracker/nautilus-issues: 2/4] nautilus: Remove tracker_glist_copy_with_nautilus_files(), no longer used



commit 22ce4a3c640ba3fae7a5c40daeeeda622630ddbc
Author: Martyn Russell <martyn lanedo com>
Date:   Mon Sep 12 19:50:14 2011 +0100

    nautilus: Remove tracker_glist_copy_with_nautilus_files(), no longer used

 src/plugins/nautilus/tracker-tags-utils.c |   19 -------------------
 src/plugins/nautilus/tracker-tags-utils.h |    1 -
 2 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/src/plugins/nautilus/tracker-tags-utils.c b/src/plugins/nautilus/tracker-tags-utils.c
index 898894d..caaca81 100644
--- a/src/plugins/nautilus/tracker-tags-utils.c
+++ b/src/plugins/nautilus/tracker-tags-utils.c
@@ -55,25 +55,6 @@ tracker_glist_to_string_list_for_nautilus_files (GList *list)
 	return strv;
 }
 
-GList *
-tracker_glist_copy_with_nautilus_files (GList *list)
-{
-	GList *l;
-	GList *new_list;
-
-	if (!list) {
-		return NULL;
-	}
-
-	new_list = NULL;
-
-	for (l = list; l; l = l->next) {
-		new_list = g_list_prepend (new_list, g_object_ref (l->data));
-	}
-
-	return g_list_reverse (new_list);
-}
-
 /* Copied from src/tracker-utils/tracker-tags.c */
 gchar *
 tracker_tags_get_filter_string (GStrv        files,
diff --git a/src/plugins/nautilus/tracker-tags-utils.h b/src/plugins/nautilus/tracker-tags-utils.h
index 37432b8..8d3c7ab 100644
--- a/src/plugins/nautilus/tracker-tags-utils.h
+++ b/src/plugins/nautilus/tracker-tags-utils.h
@@ -26,7 +26,6 @@ G_BEGIN_DECLS
 
 inline gboolean tracker_is_empty_string                         (const char  *str);
 gchar **        tracker_glist_to_string_list_for_nautilus_files (GList       *list);
-GList *         tracker_glist_copy_with_nautilus_files          (GList       *list);
 gchar *         tracker_tags_get_filter_string                  (GStrv        files,
                                                                  const gchar *tag);
 gchar *         tracker_tags_escape_sparql_string               (const gchar *str);



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