projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee72860
)
label: Stop using gdk_cursor_new_for_display
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 2 Nov 2017 01:19:31 +0000
(21:19 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 2 Nov 2017 01:19:31 +0000
(21:19 -0400)
We prefer to use the name-based api for cursors nowadays.
gtk/gtklabel.c
patch
|
blob
|
history
diff --git
a/gtk/gtklabel.c
b/gtk/gtklabel.c
index a950d97a5a42df2413e58ab38e711613e3d2a857..a29db7169c6b8a92d2c5c19e4e303381e77e0c22 100644
(file)
--- a/
gtk/gtklabel.c
+++ b/
gtk/gtklabel.c
@@
-4960,7
+4960,7
@@
gtk_label_set_selectable_hint (GtkLabel *label)
{
GdkCursor *cursor;
- cursor = gdk_cursor_new_f
or_display (gtk_widget_get_display (widget), GDK_XTERM
);
+ cursor = gdk_cursor_new_f
rom_name (gtk_widget_get_display (widget), "text"
);
gtk_widget_set_cursor (widget, cursor);
g_object_unref (cursor);
}