diff options
author | Victor Kareh <[email protected]> | 2019-07-07 07:00:00 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-07-20 18:49:02 +0200 |
commit | 0124edc9296b9f0a942053d9f1ae1c778ca79185 (patch) | |
tree | 5a3befc27e69d776b93314e1e01f5be0dd2ca19d /libcaja-private | |
parent | 9f8ed147f39096125cd29a838ad0ccbbcfa7e8e5 (diff) | |
download | caja-0124edc9296b9f0a942053d9f1ae1c778ca79185.tar.bz2 caja-0124edc9296b9f0a942053d9f1ae1c778ca79185.tar.xz |
Replace gdkpixbuf with cairo_surfaces in a few more places
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 55112de9..71b21216 100644 --- a/libcaja-private/caja-file.c +++ b/libcaja-private/caja-file.c @@ -4660,27 +4660,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, |