summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2019-07-07 07:00:00 -0400
committerraveit65 <[email protected]>2019-07-10 16:23:20 +0200
commita695fec803121b8b4af2a181e98ae7ab6ef7e35a (patch)
treeae6079b72a631d3f267c7c3c170b7b0441b1cce4 /libcaja-private
parente87dae607ad393e0b00de3f99a1a2d2f1a1637cf (diff)
downloadcaja-a695fec803121b8b4af2a181e98ae7ab6ef7e35a.tar.bz2
caja-a695fec803121b8b4af2a181e98ae7ab6ef7e35a.tar.xz
Replace gdkpixbuf with cairo_surfaces in a few more places
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-file.c21
-rw-r--r--libcaja-private/caja-file.h5
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,