Commit fbfc828b authored by Cosimo Cecchi's avatar Cosimo Cecchi

dialog: call right function to get display

This is a typo that was introduced in commit
parent ba8d333e
......@@ -335,7 +335,7 @@ screenshot_dialog_set_busy (ScreenshotDialog *dialog,
GdkDisplay *display;
GdkCursor *cursor;
/* Change cursor to busy */
display = gtk_widget_get_window (GTK_WIDGET (dialog));
display = gtk_widget_get_display (GTK_WIDGET (dialog));
cursor = gdk_cursor_new_for_display (display, GDK_WATCH);
gdk_window_set_cursor (window, cursor);
g_object_unref (cursor);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment