Use standard cursor names
This changes GTK+ to use gdk_cursor_new_from_name() with the 'standard' css names, instead of GdkCursorType. https://bugzilla.gnome.org/show_bug.cgi?id=652085
This commit is contained in:
@ -584,11 +584,7 @@ set_busy_cursor (GtkPrintUnixDialog *dialog,
|
||||
display = gtk_widget_get_display (widget);
|
||||
|
||||
if (busy)
|
||||
{
|
||||
cursor = gdk_cursor_new_from_name (display, "left_ptr_watch");
|
||||
if (cursor == NULL)
|
||||
cursor = gdk_cursor_new_for_display (display, GDK_WATCH);
|
||||
}
|
||||
cursor = gdk_cursor_new_from_name (display, "progress");
|
||||
else
|
||||
cursor = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user