[gtk/matthiasc/for-master: 5/5] widget-factory: Fix a typo



commit e393465fd75f13d92194684ff61086963d9de455
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri May 1 14:17:26 2020 -0400

    widget-factory: Fix a typo
    
    We wanted to move the conflicting global shortcuts
    to the bubble phase, so they don't override the
    entry bindings.

 demos/widget-factory/widget-factory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/demos/widget-factory/widget-factory.c b/demos/widget-factory/widget-factory.c
index 52c9988b66..9b7cde1946 100644
--- a/demos/widget-factory/widget-factory.c
+++ b/demos/widget-factory/widget-factory.c
@@ -1877,7 +1877,7 @@ activate (GApplication *app)
                                    window);
 
   controller = gtk_shortcut_controller_new ();
-  gtk_event_controller_set_propagation_phase (controller, GTK_PHASE_CAPTURE);
+  gtk_event_controller_set_propagation_phase (controller, GTK_PHASE_BUBBLE);
 
   for (i = 0; i < G_N_ELEMENTS (late_accels); i++)
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]