diff options
author | Marco Pesenti Gritti <mpgritti@gmail.com> | 2008-08-31 12:40:03 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpgritti@gmail.com> | 2008-08-31 12:40:03 (GMT) |
commit | 6e503b0a24e7fca0ddb0c2d04470af2d54cbe8b0 (patch) | |
tree | 47b1c342e134ba61c1a65b1806ac79d1aa227b1c /src/sugar/_sugarext.defs | |
parent | 938e2e964824719fa2ddc76f43caa5711e4f1da9 (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.defs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sugar/_sugarext.defs b/src/sugar/_sugarext.defs index 87d629f..72ff7af 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") ) ) |