[gtk+/wip/carlosg/event-delivery: 218/261] gtkexpander: Drop usage of gtk_gesture_set_window()
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/carlosg/event-delivery: 218/261] gtkexpander: Drop usage of gtk_gesture_set_window()
- Date: Mon, 8 May 2017 21:02:59 +0000 (UTC)
commit 803f2fd3de80428efe0583fea515eaeb88a54c69
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Mar 31 18:12:57 2017 +0200
gtkexpander: Drop usage of gtk_gesture_set_window()
It's now meaningless since the gesture will receive the event despite
the input only window.
gtk/gtkexpander.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c
index 780b56c..a256396 100644
--- a/gtk/gtkexpander.c
+++ b/gtk/gtkexpander.c
@@ -544,8 +544,6 @@ gtk_expander_realize (GtkWidget *widget)
| GDK_LEAVE_NOTIFY_MASK,
&allocation);
gtk_widget_register_window (widget, priv->event_window);
-
- gtk_gesture_set_window (priv->multipress_gesture, priv->event_window);
}
static void
@@ -555,7 +553,6 @@ gtk_expander_unrealize (GtkWidget *widget)
if (priv->event_window)
{
- gtk_gesture_set_window (priv->multipress_gesture, NULL);
gtk_widget_unregister_window (widget, priv->event_window);
gdk_window_destroy (priv->event_window);
priv->event_window = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]