diff options
author | Victor Kareh <[email protected]> | 2019-07-07 07:00:00 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-07-10 16:23:20 +0200 |
commit | a695fec803121b8b4af2a181e98ae7ab6ef7e35a (patch) | |
tree | ae6079b72a631d3f267c7c3c170b7b0441b1cce4 /libcaja-private/caja-file.c | |
parent | e87dae607ad393e0b00de3f99a1a2d2f1a1637cf (diff) | |
download | caja-a695fec803121b8b4af2a181e98ae7ab6ef7e35a.tar.bz2 caja-a695fec803121b8b4af2a181e98ae7ab6ef7e35a.tar.xz |
Replace gdkpixbuf with cairo_surfaces in a few more places
Diffstat (limited to 'libcaja-private/caja-file.c')
-rw-r--r-- | libcaja-private/caja-file.c | 21 |
1 files changed, 0 insertions, 21 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, |