diff options
Diffstat (limited to 'libcaja-private')
-rw-r--r-- | libcaja-private/caja-file.c | 21 | ||||
-rw-r--r-- | libcaja-private/caja-file.h | 5 |
2 files changed, 0 insertions, 26 deletions
diff --git a/libcaja-private/caja-file.c b/libcaja-private/caja-file.c index 3ebb337b..1bb34b16 100644 --- a/libcaja-private/caja-file.c +++ b/libcaja-private/caja-file.c @@ -4658,27 +4658,6 @@ caja_file_get_icon (CajaFile *file, } } -GdkPixbuf * -caja_file_get_icon_pixbuf (CajaFile *file, - int size, - gboolean force_size, - int scale, - CajaFileIconFlags flags) -{ - CajaIconInfo *info; - GdkPixbuf *pixbuf; - - info = caja_file_get_icon (file, size, scale, flags); - if (force_size) { - pixbuf = caja_icon_info_get_pixbuf_at_size (info, size); - } else { - pixbuf = caja_icon_info_get_pixbuf (info); - } - g_object_unref (info); - - return pixbuf; -} - cairo_surface_t * caja_file_get_icon_surface (CajaFile *file, int size, diff --git a/libcaja-private/caja-file.h b/libcaja-private/caja-file.h index e458582b..eb57599c 100644 --- a/libcaja-private/caja-file.h +++ b/libcaja-private/caja-file.h @@ -466,11 +466,6 @@ CajaIconInfo *caja_file_get_icon (CajaFile *file, int size, int scale, CajaFileIconFlags flags); -GdkPixbuf *caja_file_get_icon_pixbuf (CajaFile *file, - int size, - gboolean force_size, - int scale, - CajaFileIconFlags flags); cairo_surface_t *caja_file_get_icon_surface (CajaFile *file, int size, gboolean force_size, |