Update of /cvsroot/gaim/gaim/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32164/src
Modified Files:
gtkconv.c
Log Message:
Use a better scaling method. Was there any particular reason this was
using GTK_INTERP_NEAREST? From the GDK docs:
"Nearest neighbor sampling; this is the fastest and lowest quality mode.
Quality is normally unacceptable when scaling down, but may be OK when
scaling up."
Index: gtkconv.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/gtkconv.c,v
retrieving revision 1.583
retrieving revision 1.584
diff -u -d -p -r1.583 -r1.584
--- gtkconv.c 18 Aug 2005 06:32:16 -0000 1.583
+++ gtkconv.c 22 Aug 2005 21:41:15 -0000 1.584
@@ -2509,7 +2509,7 @@ redraw_icon(gpointer data)
gdk_pixbuf_animation_get_width(gtkconv->u.im->anim), 1),
MAX(gdk_pixbuf_get_height(buf) * scale_height /
gdk_pixbuf_animation_get_height(gtkconv->u.im->anim), 1),
- GDK_INTERP_NEAREST);
+ GDK_INTERP_BILINEAR);
gdk_pixbuf_render_pixmap_and_mask(scale, &pm, &bm, 100);
g_object_unref(G_OBJECT(scale));
@@ -5797,7 +5797,7 @@ gaim_gtkconv_update_buddy_icon(GaimConve
gdk_pixbuf_animation_get_width(gtkconv->u.im->anim), 1),
MAX(gdk_pixbuf_get_height(buf) * scale_height /
gdk_pixbuf_animation_get_height(gtkconv->u.im->anim), 1),
- GDK_INTERP_NEAREST);
+ GDK_INTERP_BILINEAR);
gdk_pixbuf_render_pixmap_and_mask(scale, &pm, &bm, 100);
g_object_unref(G_OBJECT(scale));
|