summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-icon-info.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private/caja-icon-info.c')
-rw-r--r--libcaja-private/caja-icon-info.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libcaja-private/caja-icon-info.c b/libcaja-private/caja-icon-info.c
index a32cf991..3a63bb44 100644
--- a/libcaja-private/caja-icon-info.c
+++ b/libcaja-private/caja-icon-info.c
@@ -25,7 +25,6 @@
#include "caja-default-file-icon.h"
#include <gtk/gtk.h>
#include <gio/gio.h>
-#include <eel/eel-gdk-pixbuf-extensions.h>
struct _CajaIconInfo
{
@@ -383,7 +382,10 @@ caja_icon_info_lookup (GIcon *icon,
NULL, NULL, NULL);
if (stream)
{
- pixbuf = eel_gdk_pixbuf_load_from_stream_at_size (stream, size);
+ pixbuf = gdk_pixbuf_new_from_stream_at_scale (stream,
+ size, size, TRUE,
+ NULL, NULL);
+ g_input_stream_close (stream, NULL, NULL);
g_object_unref (stream);
}