[nautilus] file: remove nautilus_file_get_emblem_pixbufs()



commit 7b1c3ddd655977e3a26365942d21d83abed1f75d
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Nov 9 16:59:33 2010 +0100

    file: remove nautilus_file_get_emblem_pixbufs()
    
    It's not used anymore.

 libnautilus-private/nautilus-file.c |   40 -----------------------------------
 libnautilus-private/nautilus-file.h |    4 ---
 2 files changed, 0 insertions(+), 44 deletions(-)
---
diff --git a/libnautilus-private/nautilus-file.c b/libnautilus-private/nautilus-file.c
index f5bc723..f431f92 100644
--- a/libnautilus-private/nautilus-file.c
+++ b/libnautilus-private/nautilus-file.c
@@ -6428,46 +6428,6 @@ nautilus_file_get_emblem_icons (NautilusFile *file,
 	return icons;
 }
 
-GList *
-nautilus_file_get_emblem_pixbufs (NautilusFile *file,
-				  int size,
-				  gboolean force_size,
-				  char **exclude)
-{
-	GList *icons, *l;
-	GList *pixbufs;
-	GIcon *icon;
-	GdkPixbuf *pixbuf;
-	NautilusIconInfo *icon_info;
-
-	icons = nautilus_file_get_emblem_icons (file, exclude);
-	pixbufs = NULL;
-
-	for (l = icons; l != NULL; l = l->next) {
-		icon = l->data;
-
-		icon_info = nautilus_icon_info_lookup (icon, size);
-		if (force_size) {
-			pixbuf = nautilus_icon_info_get_pixbuf_nodefault_at_size (icon_info, size);
-		} else {
-			pixbuf = nautilus_icon_info_get_pixbuf_nodefault (icon_info);
-		}
-		
-		if (pixbuf) {
-			pixbufs = g_list_prepend (pixbufs, pixbuf);
-		}
-		
-		
-		g_object_unref (icon_info);
-		g_object_unref (icon);
-	}
-	g_list_free (icons);
-
-	return g_list_reverse (pixbufs);
-
-	
-}
-
 static GList *
 sort_keyword_list_and_remove_duplicates (GList *keywords)
 {
diff --git a/libnautilus-private/nautilus-file.h b/libnautilus-private/nautilus-file.h
index de27c87..d8d8334 100644
--- a/libnautilus-private/nautilus-file.h
+++ b/libnautilus-private/nautilus-file.h
@@ -209,10 +209,6 @@ gboolean                nautilus_file_should_show_type                  (Nautilu
 GList *                 nautilus_file_get_keywords                      (NautilusFile                   *file);
 GList *                 nautilus_file_get_emblem_icons                  (NautilusFile                   *file,
 									 char                          **exclude);
-GList *                 nautilus_file_get_emblem_pixbufs                (NautilusFile                   *file,
-									 int                             size,
-									 gboolean                        force_size,
-									 char                          **exclude);
 char *                  nautilus_file_get_top_left_text                 (NautilusFile                   *file);
 char *                  nautilus_file_peek_top_left_text                (NautilusFile                   *file,
 									 gboolean                        need_large_text,



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