Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWade Brainerd <wadetb@gmail.com>2008-10-11 21:51:57 (GMT)
committer Wade Brainerd <wadetb@gmail.com>2008-10-11 21:51:57 (GMT)
commitddb3e7d65637a4b24d4e7c52dd602c0b97131727 (patch)
tree2414db1809784aec8600a143bcf5ea82a59b435d
parentea848af412bc7168b92f9e47fb1d9973515d3acd (diff)
Allow program to exit on recent builds.
-rwxr-xr-xcolors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/colors.py b/colors.py
index d0c6233..7e4eaad 100755
--- a/colors.py
+++ b/colors.py
@@ -1508,7 +1508,7 @@ class Colors(activity.Activity, ExportedGObject):
def take_screenshot (self):
if self.easelarea and self.easelarea.bin_window:
- self._preview.take_screenshot(self.easelarea.bin_window)
+ self._preview.take_screenshot(self.easelarea)
def save_thumbnail(self, filename):
pbuf = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB, False, 8, self.width, self.height)