[gtk/wip/ebassi/shortcut: 149/203] accelgroup: Actually have a default mod mask
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/ebassi/shortcut: 149/203] accelgroup: Actually have a default mod mask
- Date: Mon, 10 Feb 2020 11:40:25 +0000 (UTC)
commit bacaf5d2674af19eb1ddbc3f858739e1701b1247
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]