[gtk+/wip/carlosg/event-delivery: 19/75] gtktreeview: Drop gtk_gesture_set_window() API
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/carlosg/event-delivery: 19/75] gtktreeview: Drop gtk_gesture_set_window() API
- Date: Tue, 9 May 2017 17:38:47 +0000 (UTC)
commit 9cda6143572daf58c210b98797eed30472b5a5ba
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]