diff options
author | monsta <[email protected]> | 2017-04-27 14:58:50 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2017-04-27 16:18:15 +0300 |
commit | b6192362354fffc5b0540d2e5043805f41d10be8 (patch) | |
tree | 242ecf9f14974271ef3cd63e0c7387febfb7c48d /mate-screenshot/src | |
parent | 3dee2b9e543efe06181708218206f44a3772d1cc (diff) | |
download | mate-utils-b6192362354fffc5b0540d2e5043805f41d10be8.tar.bz2 mate-utils-b6192362354fffc5b0540d2e5043805f41d10be8.tar.xz |
mate-screenshot: fix showing busy cursor when saving area screenshot
invalid cast from plain struct to GtkWidget was causing a heap
of runtime warnings when saving area screenshot, and no busy cursor
was shown. fallout from 7d859a9e17f0c4f0b790e8b2a3d8ac25481d7fe6...
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) { |