[cornelius] use NEAREST method when we merge 2 pixbufs. it's better for small images

This commit is contained in:
Yann Leboulanger 2007-04-19 14:44:11 +00:00
parent 38f00992b7
commit bda7da5027
1 changed files with 1 additions and 1 deletions

View File

@ -3660,7 +3660,7 @@ class RosterWindow:
pixbuf2.composite(pixbuf1, 0, 0,
pixbuf2.get_property('width'),
pixbuf2.get_property('height'), 0, 0, 1.0, 1.0,
gtk.gdk.INTERP_HYPER, 255)
gtk.gdk.INTERP_NEAREST, 255)
image.set_from_pixbuf(pixbuf1)
break
return imgs