[Xfce4-commits] [panel-plugins/xfce4-clipman-plugin] 15/28: Replace exo pixbuf referernce

noreply at xfce.org noreply at xfce.org
Thu May 19 20:06:17 CEST 2016


This is an automated email from the git hooks/post-receive script.

ochosi pushed a commit to branch master
in repository panel-plugins/xfce4-clipman-plugin.

commit 224d2d3200d8053ecf329aa2f4e8def5cdcbde98
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Thu May 12 22:05:24 2016 +0200

    Replace exo pixbuf referernce
---
 panel-plugin/history.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/panel-plugin/history.c b/panel-plugin/history.c
index e909df2..8775c14 100644
--- a/panel-plugin/history.c
+++ b/panel-plugin/history.c
@@ -23,7 +23,6 @@
 #include <glib.h>
 #include <glib-object.h>
 #include <gtk/gtk.h>
-//#include <exo/exo.h>
 #include <libxfce4util/libxfce4util.h>
 
 #include "common.h"
@@ -323,7 +322,7 @@ clipman_history_add_image (ClipmanHistory *history,
   item = g_slice_new0 (ClipmanHistoryItem);
   item->type = CLIPMAN_HISTORY_TYPE_IMAGE;
   item->content.image = gdk_pixbuf_copy (image);
-  //item->preview.image = exo_gdk_pixbuf_scale_ratio (GDK_PIXBUF (image), 128);
+  item->preview.image = gdk_pixbuf_scale_simple (GDK_PIXBUF (image), 128, 128, GDK_INTERP_BILINEAR);
 
   DBG ("Copy of image (%p) is (%p)", image, item->content.image);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list