Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/_sugarext.defs
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpgritti@gmail.com>2008-08-31 12:40:03 (GMT)
committer Marco Pesenti Gritti <mpgritti@gmail.com>2008-08-31 13:09:45 (GMT)
commit269491c492a4e9722b36fa0754d881feb56499d5 (patch)
treee8d675992637a45179022255f1b581b3218ed1cc /src/sugar/_sugarext.defs
parent88579800c383455484f4c43e3392e4c0a39118ae (diff)
Ensure that the widget is fully onscreen before taking a screenshot.
Otherwise X emits a BadMatch and gtk kills the process (!). Fix #8220
Diffstat (limited to 'src/sugar/_sugarext.defs')
-rw-r--r--src/sugar/_sugarext.defs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sugar/_sugarext.defs b/src/sugar/_sugarext.defs
index 6e741dc..2b795d7 100644
--- a/src/sugar/_sugarext.defs
+++ b/src/sugar/_sugarext.defs
@@ -200,7 +200,7 @@
(c-name "sugar_preview_take_screenshot")
(return-type "none")
(parameters
- '("GdkDrawable" "drawable")
+ '("GtkWidget" "widget")
)
)