[gtk+/wip/carlosg/event-delivery: 51/71] 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: 51/71] gtkexpander: Drop usage of gtk_gesture_set_window()
- Date: Mon, 3 Apr 2017 08:51:43 +0000 (UTC)
commit 82833411e35e86dfcb81d71860f4a0434e94e0b2
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 a2aad91..8bbb150 100644
--- a/gtk/gtkexpander.c
+++ b/gtk/gtkexpander.c
@@ -547,8 +547,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
@@ -558,7 +556,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]