diff options
Diffstat (limited to 'mate-screenshot/src')
-rw-r--r-- | mate-screenshot/src/screenshot-dialog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-screenshot/src/screenshot-dialog.c b/mate-screenshot/src/screenshot-dialog.c index 2886458a..494a5922 100644 --- a/mate-screenshot/src/screenshot-dialog.c +++ b/mate-screenshot/src/screenshot-dialog.c @@ -430,7 +430,7 @@ screenshot_dialog_set_busy (ScreenshotDialog *dialog, GdkDisplay *display; toplevel = screenshot_dialog_get_toplevel (dialog); - display = gtk_widget_get_display (GTK_WIDGET (dialog)); + display = gtk_widget_get_display (toplevel); if (busy) { |