Fix default value

svn path=/trunk/; revision=20767
This commit is contained in:
Matthias Clasen 2008-07-04 20:46:45 +00:00
parent f1f83c1da0
commit a46f8f3726
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,8 @@
2008-07-04 Matthias Clasen <mclasen@redhat.com>\
2008-07-04 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaccelgroup.c: Fix default value for modifier-mask property.
2008-07-04 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmenu.c: Debork the attach-widget property.

View File

@ -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);