forked from AuroraMiddleware/gtk
broadway: Don't use deprecated gdk_cursor_ref
This commit is contained in:
parent
6cb2816c45
commit
38eab78904
@ -610,7 +610,7 @@ gdk_window_broadway_set_device_cursor (GdkWindow *window,
|
|||||||
{
|
{
|
||||||
_gdk_broadway_cursor_update_theme (cursor);
|
_gdk_broadway_cursor_update_theme (cursor);
|
||||||
g_hash_table_replace (impl->device_cursor,
|
g_hash_table_replace (impl->device_cursor,
|
||||||
device, gdk_cursor_ref (cursor));
|
device, g_object_ref (cursor));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!GDK_WINDOW_DESTROYED (window))
|
if (!GDK_WINDOW_DESTROYED (window))
|
||||||
|
Loading…
Reference in New Issue
Block a user