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 13:09:45 (GMT) |
commit | 269491c492a4e9722b36fa0754d881feb56499d5 (patch) | |
tree | e8d675992637a45179022255f1b581b3218ed1cc /src/sugar/sugar-preview.h | |
parent | 88579800c383455484f4c43e3392e4c0a39118ae (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/sugar-preview.h')
-rw-r--r-- | src/sugar/sugar-preview.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sugar/sugar-preview.h b/src/sugar/sugar-preview.h index 6029cc1..70ea156 100644 --- a/src/sugar/sugar-preview.h +++ b/src/sugar/sugar-preview.h @@ -50,7 +50,7 @@ struct _SugarPreviewClass { GType sugar_preview_get_type (void); void sugar_preview_take_screenshot (SugarPreview *preview, - GdkDrawable *drawable); + GtkWidget *widget); void sugar_preview_set_size (SugarPreview *preview, int width, int height); |