diff options
author | Victor Kareh <[email protected]> | 2019-07-07 07:00:00 -0400 |
---|---|---|
committer | monsta <[email protected]> | 2019-07-23 17:37:34 +0300 |
commit | 8446b73407dd3c9ca0b061d4c87b94e52cf94a85 (patch) | |
tree | 531589c21ceb68636d9c18fec8a53387aee5e0c5 /libcaja-private/caja-file.c | |
parent | dd2609cd88cfded8f4a5c8d8455f8aaad324b3d9 (diff) | |
download | caja-8446b73407dd3c9ca0b061d4c87b94e52cf94a85.tar.bz2 caja-8446b73407dd3c9ca0b061d4c87b94e52cf94a85.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 a69701e5..c85531c2 100644 --- a/libcaja-private/caja-file.c +++ b/libcaja-private/caja-file.c @@ -4638,27 +4638,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, |