[gtk+/wip/carlosg/event-delivery: 27/104] gtktreeview: Drop gtk_gesture_set_window() API
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/carlosg/event-delivery: 27/104] gtktreeview: Drop gtk_gesture_set_window() API
- Date: Thu, 25 May 2017 14:42:23 +0000 (UTC)
commit b20f04d18d4260566c449c0cda3134a10d61c4eb
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Mar 31 18:03:42 2017 +0200
gtktreeview: Drop gtk_gesture_set_window() API
It is now meaningless and wrong, since GdkWindows aren't used anymore
to determine the event target.
gtk/gtktreeview.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index b13e6f9..538e87d 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -2295,11 +2295,6 @@ gtk_tree_view_realize (GtkWidget *widget)
gtk_tree_view_set_enable_tree_lines (tree_view, tree_view->priv->tree_lines_enabled);
install_presize_handler (tree_view);
-
- gtk_gesture_set_window (tree_view->priv->multipress_gesture,
- tree_view->priv->bin_window);
- gtk_gesture_set_window (tree_view->priv->drag_gesture,
- tree_view->priv->bin_window);
}
static void
@@ -2376,9 +2371,6 @@ gtk_tree_view_unrealize (GtkWidget *widget)
priv->drag_highlight_window = NULL;
}
- gtk_gesture_set_window (tree_view->priv->multipress_gesture, NULL);
- gtk_gesture_set_window (tree_view->priv->drag_gesture, NULL);
-
GTK_WIDGET_CLASS (gtk_tree_view_parent_class)->unrealize (widget);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]