Verified Commit b6d17c50 authored by Jente Hidskes's avatar Jente Hidskes

screenshot-dialog: replace deprecated gdk_cursor_new

parent 234f2c56
......@@ -332,9 +332,11 @@ screenshot_dialog_set_busy (ScreenshotDialog *dialog,
if (busy)
{
GdkDisplay *display;
GdkCursor *cursor;
/* Change cursor to busy */
cursor = gdk_cursor_new (GDK_WATCH);
display = gtk_widget_get_window (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