mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-04 01:31:13 +00:00
label: Stop using gdk_cursor_new_for_display
We prefer to use the name-based api for cursors nowadays.
This commit is contained in:
parent
ee72860804
commit
fa5e3ee54e
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user