GtkSizeGroup: Use G_PARAM_EXPLICIT_NOTIFY

This commit is contained in:
Matthias Clasen 2014-06-09 09:40:55 -04:00
parent 4867e95291
commit 83669856b2

View File

@ -318,13 +318,14 @@ gtk_size_group_class_init (GtkSizeGroupClass *klass)
gobject_class->get_property = gtk_size_group_get_property; gobject_class->get_property = gtk_size_group_get_property;
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_MODE, PROP_MODE,
g_param_spec_enum ("mode", g_param_spec_enum ("mode",
P_("Mode"), P_("Mode"),
P_("The directions in which the size group affects the requested sizes" P_("The directions in which the size group affects the requested sizes"
" of its component widgets"), " of its component widgets"),
GTK_TYPE_SIZE_GROUP_MODE, GTK_TYPE_SIZE_GROUP_MODE,
GTK_SIZE_GROUP_HORIZONTAL, GTK_PARAM_READWRITE)); GTK_SIZE_GROUP_HORIZONTAL,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
/** /**
* GtkSizeGroup:ignore-hidden: * GtkSizeGroup:ignore-hidden:
@ -335,13 +336,13 @@ gtk_size_group_class_init (GtkSizeGroupClass *klass)
* Since: 2.8 * Since: 2.8
*/ */
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_IGNORE_HIDDEN, PROP_IGNORE_HIDDEN,
g_param_spec_boolean ("ignore-hidden", g_param_spec_boolean ("ignore-hidden",
P_("Ignore hidden"), P_("Ignore hidden"),
P_("If TRUE, unmapped widgets are ignored " P_("If TRUE, unmapped widgets are ignored "
"when determining the size of the group"), "when determining the size of the group"),
FALSE, FALSE,
GTK_PARAM_READWRITE)); GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
} }
static void static void