From a050b017ed548172e8c088fefcda4912b3d00adc Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Mon, 11 Aug 2014 20:38:51 +0200 Subject: [PATCH] eventcontroller: Default to GTK_PHASE_BUBBLE This is in practice the most common value, so make that the default https://bugzilla.gnome.org/show_bug.cgi?id=734285 --- gtk/gtkeventcontroller.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gtk/gtkeventcontroller.c b/gtk/gtkeventcontroller.c index c532a0b3ea..a8b2e542c8 100644 --- a/gtk/gtkeventcontroller.c +++ b/gtk/gtkeventcontroller.c @@ -170,13 +170,17 @@ gtk_event_controller_class_init (GtkEventControllerClass *klass) P_("Propagation phase"), P_("Propagation phase at which this controller is run"), GTK_TYPE_PROPAGATION_PHASE, - GTK_PHASE_NONE, + GTK_PHASE_BUBBLE, GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY)); } static void gtk_event_controller_init (GtkEventController *controller) { + GtkEventControllerPrivate *priv; + + priv = gtk_event_controller_get_instance_private (controller); + priv->phase = GTK_PHASE_BUBBLE; } /**