summaryrefslogtreecommitdiff
path: root/gtk/gtkaccelgroup.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2008-07-04 20:46:45 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-07-04 20:46:45 +0000
commita46f8f3726387a25e0477e0b41090122e3c42f34 (patch)
tree8b664b100c495f147b1144edac0ddc27eec18adc /gtk/gtkaccelgroup.c
parentf1f83c1da0e6b1944c8bbb5b3b6b71d183b71f69 (diff)
downloadgtk+-a46f8f3726387a25e0477e0b41090122e3c42f34.tar.gz
Fix default value
svn path=/trunk/; revision=20767
Diffstat (limited to 'gtk/gtkaccelgroup.c')
-rw-r--r--gtk/gtkaccelgroup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkaccelgroup.c b/gtk/gtkaccelgroup.c
index 436e3c3f2f..0dbf810c75 100644
--- a/gtk/gtkaccelgroup.c
+++ b/gtk/gtkaccelgroup.c
@@ -95,7 +95,7 @@ gtk_accel_group_class_init (GtkAccelGroupClass *class)
"Modifier Mask",
"Modifier Mask",
GDK_TYPE_MODIFIER_TYPE,
- 0,
+ default_accel_mod_mask,
G_PARAM_READABLE));
/**
@@ -186,7 +186,7 @@ gtk_accel_group_get_property (GObject *object,
g_value_set_boolean (value, accel_group->lock_count > 0);
break;
case PROP_MODIFIER_MASK:
- g_value_set_enum (value, accel_group->modifier_mask);
+ g_value_set_flags (value, accel_group->modifier_mask);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec);