aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-icon-stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-icon-stream.c')
-rw-r--r--mail/em-icon-stream.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/mail/em-icon-stream.c b/mail/em-icon-stream.c
index ebd2cf6cc1..9f698e2c54 100644
--- a/mail/em-icon-stream.c
+++ b/mail/em-icon-stream.c
@@ -30,11 +30,9 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gdk-pixbuf/gdk-pixbuf-loader.h>
-#ifdef HAVE_LIBGNOMEUI_GNOME_THUMBNAIL_H
-#include <libgnomeui/gnome-thumbnail.h>
-#endif
#include <gtk/gtkimage.h>
#include "em-icon-stream.h"
+#include "e-util/e-icon-factory.h"
#include "libedataserver/e-msgport.h"
@@ -187,11 +185,7 @@ emis_fit(GdkPixbuf *pixbuf, int maxwidth, int maxheight, int *scale)
if (height <= 0)
height = 1;
-#ifdef HAVE_LIBGNOMEUI_GNOME_THUMBNAIL_H
- mini = gnome_thumbnail_scale_down_pixbuf(pixbuf, width, height);
-#else
- mini = gdk_pixbuf_scale_simple(pixbuf, width, height, GDK_INTERP_BILINEAR);
-#endif
+ mini = e_icon_factory_pixbuf_scale (pixbuf, width, height);
}
return mini;