[gtk+] gdk: Add deprecation guards around deprecated function
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gdk: Add deprecation guards around deprecated function
- Date: Thu, 27 Oct 2016 03:03:35 +0000 (UTC)
commit b1f61b6fcc73e825c635ec6d312bbab8b62d6886
Author: Benjamin Otte <otte redhat com>
Date: Thu Oct 27 00:06:36 2016 +0200
gdk: Add deprecation guards around deprecated function
gdk/gdkwindow.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 5bc9438..242b262 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]