some comments

This commit is contained in:
Jon Dowland 2008-01-29 21:17:11 +00:00
parent 1462e3cc7e
commit a825788903
5 changed files with 3 additions and 1 deletions

View file

@ -59,9 +59,11 @@ class HellowWorldGTK:
texbuf, patch.xoff, patch.yoff)
self.image1.set_from_pixbuf(texbuf)
# scale the texture up
pixbuf = self.image1.get_pixbuf()
if pixbuf:
scale = 3
scale = 2
self.image1.set_from_pixbuf(pixbuf.scale_simple(
pixbuf.get_width() * scale,
pixbuf.get_height() * scale,