[gtk/wip/ebassi/shortcut: 42/85] accelgroup: Actually have a default mod mask



commit d4181932df1bbca1fb2f92dcd6853acba0ebfe12
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 dbf4e261af..21c38918c8 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]