diff options
-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 cb9ffc33..3e120061 100644 --- a/mate-screenshot/src/screenshot-dialog.c +++ b/mate-screenshot/src/screenshot-dialog.c @@ -355,7 +355,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) { |