Commit a46f8f37 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Fix default value

svn path=/trunk/; revision=20767
parent f1f83c1d
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.
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment