diff options
author | Kshitij Kumar <kshitijakumar@gmail.com> | 2013-01-13 15:01:58 (GMT) |
---|---|---|
committer | Kshitij Kumar <kshitijakumar@gmail.com> | 2013-01-13 15:01:58 (GMT) |
commit | eb715a84f42aa39c7571915fdd84eeb7d05a51e3 (patch) | |
tree | b87dea1b239f021f186686049f2af5bfbf69716b | |
parent | 3282e93ea1ff14cb8eb5e358fde68aeebe55e7e5 (diff) |
return added after Gtk.Image
-rwxr-xr-x | moon.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -293,6 +293,7 @@ class MoonActivity(activity.Activity): self.image_pixbuf = Gdk.pixbuf_get_from_surface(cairo_surface, 0, 0, IMAGE_SIZE, IMAGE_SIZE) #Write pixbuf to Gtk.Image self.image.set_from_pixbuf(self.image_pixbuf) + return #self.image_pixbuf = cairo_surface(None, IMAGE_SIZE, IMAGE_SIZE) #self.gc = self.image_pixbuf.new_gc(foreground=self.black_alloc_color) |