label: Stop using gdk_cursor_new_for_display

We prefer to use the name-based api for cursors nowadays.
This commit is contained in:
Matthias Clasen 2017-11-01 21:19:31 -04:00
parent ee72860804
commit fa5e3ee54e

View File

@ -4960,7 +4960,7 @@ gtk_label_set_selectable_hint (GtkLabel *label)
{
GdkCursor *cursor;
cursor = gdk_cursor_new_for_display (gtk_widget_get_display (widget), GDK_XTERM);
cursor = gdk_cursor_new_from_name (gtk_widget_get_display (widget), "text");
gtk_widget_set_cursor (widget, cursor);
g_object_unref (cursor);
}