mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
Avoid using gdk_cursor_new() in GTK 3.
It's deprecated in up-to-date versions, but fortunately, the workaround is just to explicitly include the appropriate GdkDisplay.
This commit is contained in:
parent
620622b3e5
commit
4e243ae9a4
@ -180,4 +180,7 @@
|
|||||||
|
|
||||||
#define gdk_get_display() gdk_display_get_name(gdk_display_get_default())
|
#define gdk_get_display() gdk_display_get_name(gdk_display_get_default())
|
||||||
|
|
||||||
|
#define gdk_cursor_new(cur) \
|
||||||
|
gdk_cursor_new_for_display(gdk_display_get_default(), cur)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user