mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
gdk: Add deprecation guards around deprecated function
This commit is contained in:
parent
568f1ff301
commit
b1f61b6fcc
@ -5048,7 +5048,11 @@ gdk_window_hide (GdkWindow *window)
|
||||
_gdk_display_get_next_serial (display),
|
||||
window,
|
||||
TRUE))
|
||||
gdk_device_ungrab (device, GDK_CURRENT_TIME);
|
||||
{
|
||||
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
||||
gdk_device_ungrab (device, GDK_CURRENT_TIME);
|
||||
G_GNUC_END_IGNORE_DEPRECATIONS
|
||||
}
|
||||
}
|
||||
|
||||
window->state = GDK_WINDOW_STATE_WITHDRAWN;
|
||||
|
Loading…
Reference in New Issue
Block a user