From a695fec803121b8b4af2a181e98ae7ab6ef7e35a Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Sun, 7 Jul 2019 07:00:00 -0400 Subject: Replace gdkpixbuf with cairo_surfaces in a few more places --- libcaja-private/caja-file.c | 21 --------------------- libcaja-private/caja-file.h | 5 ----- 2 files changed, 26 deletions(-) (limited to 'libcaja-private') 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, -- cgit v1.2.1