keep 2.6.x compat [for how long.. :P]

This commit is contained in:
Nikos Kouremenos 2006-01-31 10:53:24 +00:00
parent e751343173
commit 8b7c67414c
1 changed files with 3 additions and 3 deletions

View File

@ -2313,9 +2313,9 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
image.set_from_file(file)
if pixbuf2 and image.get_storage_type() == gtk.IMAGE_PIXBUF:
pix = image.get_pixbuf()
pixbuf2.composite(pix, 0, 0, pixbuf2.props.width,
pixbuf2.props.height, 0, 0, 1.0, 1.0, gtk.gdk.INTERP_HYPER,
255)
pixbuf2.composite(pix, 0, 0, pixbuf2.get_property('width'),
pixbuf2.get_property('height'), 0, 0, 1.0, 1.0,
gtk.gdk.INTERP_HYPER, 255)
image.set_from_pixbuf(pix)
break
return imgs