[gtk/gbsneto/shortcuts-rebased: 53/102] accelgroup: Actually have a default mod mask



commit 5a3bfbfb106e5a6604fb6a65f975f156061df9b6
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 31f8f92e1f..bc1d690664 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]