# HG changeset patch # User Mark Doliner # Date 1124746875 0 # Node ID 772d086e906732e77c9b9300ca8e0a56883b2fdd # Parent caec745e390ea408adfa4c1e2f6b676ba3302176 [gaim-migrate @ 13535] 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." committer: Tailor Script diff -r caec745e390e -r 772d086e9067 src/gtkconv.c --- a/src/gtkconv.c Sun Aug 21 20:13:22 2005 +0000 +++ b/src/gtkconv.c Mon Aug 22 21:41:15 2005 +0000 @@ -2509,7 +2509,7 @@ 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 @@ 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));