Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKshitij Kumar <kshitijakumar@gmail.com>2013-01-13 15:01:58 (GMT)
committer Kshitij Kumar <kshitijakumar@gmail.com>2013-01-13 15:01:58 (GMT)
commiteb715a84f42aa39c7571915fdd84eeb7d05a51e3 (patch)
treeb87dea1b239f021f186686049f2af5bfbf69716b
parent3282e93ea1ff14cb8eb5e358fde68aeebe55e7e5 (diff)
return added after Gtk.Image
-rwxr-xr-xmoon.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/moon.py b/moon.py
index 3d1ddca..9337d06 100755
--- a/moon.py
+++ b/moon.py
@@ -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)