[gtk/shortcuts-rebased-again: 54/139] accelgroup: Actually have a default mod mask



commit f2db652053989de9385d416d08b4751e905238b1
Author: Benjamin Otte <otte redhat com>
Date:   Mon Aug 13 01:52:04 2018 +0200

    accelgroup: Actually have a default mod mask
    
    Don't just use a value without initializing it.

 gtk/gtkaccelgroup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkaccelgroup.c b/gtk/gtkaccelgroup.c
index f09764ec74..b5ab44333c 100644
--- a/gtk/gtkaccelgroup.c
+++ b/gtk/gtkaccelgroup.c
@@ -109,7 +109,7 @@ gtk_accel_group_class_init (GtkAccelGroupClass *class)
                         "Modifier Mask",
                         "Modifier Mask",
                         GDK_TYPE_MODIFIER_TYPE,
-                        default_accel_mod_mask,
+                        gtk_accelerator_get_default_mod_mask (),
                         G_PARAM_READABLE);
 
    g_object_class_install_properties (object_class,


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