summaryrefslogtreecommitdiff
path: root/gtk/gtkbutton.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2014-05-27 12:38:49 +0200
committerCarlos Garnacho <carlosg@gnome.org>2014-05-27 17:47:12 +0200
commit907e9f19462fd1dee31a32fafa6826832a958f7c (patch)
tree9376d9c24953e1ea31518789e415fe52e9bdc909 /gtk/gtkbutton.c
parent505efbb3f3ae76ffdd4f7e9871cedd84c41cb673 (diff)
downloadgtk+-907e9f19462fd1dee31a32fafa6826832a958f7c.tar.gz
gtk: Update GtkGesture users to the GtkPropagationPhase semantics change
Mainly doing s/TARGET/BUBBLE/ on the fully ported widgets, but GtkTreeView where the double click handler has moved to GTK_PHASE_TARGET so it runs parallelly to the still existing event handlers.
Diffstat (limited to 'gtk/gtkbutton.c')
-rw-r--r--gtk/gtkbutton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c
index 3e10ec64aa..17a1f9d987 100644
--- a/gtk/gtkbutton.c
+++ b/gtk/gtkbutton.c
@@ -653,7 +653,7 @@ gtk_button_init (GtkButton *button)
gtk_gesture_single_set_button (GTK_GESTURE_SINGLE (priv->gesture), GDK_BUTTON_PRIMARY);
g_signal_connect (priv->gesture, "pressed", G_CALLBACK (multipress_pressed_cb), button);
g_signal_connect (priv->gesture, "released", G_CALLBACK (multipress_released_cb), button);
- gtk_event_controller_set_propagation_phase (GTK_EVENT_CONTROLLER (priv->gesture), GTK_PHASE_TARGET);
+ gtk_event_controller_set_propagation_phase (GTK_EVENT_CONTROLLER (priv->gesture), GTK_PHASE_BUBBLE);
}
static void