[gtk+] GtkTreeView: Add ignore deprecation statements
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkTreeView: Add ignore deprecation statements
- Date: Wed, 16 Dec 2015 18:49:17 +0000 (UTC)
commit 32c9db8600b93deb9bb43e163f90f338512ed424
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Dec 16 19:27:34 2015 +0100
GtkTreeView: Add ignore deprecation statements
We still need access to floating devices at places.
gtk/gtktreeview.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 7e2f027..b12fae7 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -11041,10 +11041,12 @@ send_focus_change (GtkWidget *widget,
GdkDeviceManager *device_manager;
GList *devices, *d;
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
device_manager = gdk_display_get_device_manager (gtk_widget_get_display (widget));
devices = gdk_device_manager_list_devices (device_manager, GDK_DEVICE_TYPE_MASTER);
devices = g_list_concat (devices, gdk_device_manager_list_devices (device_manager, GDK_DEVICE_TYPE_SLAVE));
devices = g_list_concat (devices, gdk_device_manager_list_devices (device_manager,
GDK_DEVICE_TYPE_FLOATING));
+ G_GNUC_END_IGNORE_DEPRECATIONS;
for (d = devices; d; d = d->next)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]