mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 21:50:34 +00:00
GtkModelButton: specify the proper default values
Caught by the defaultvalue test: ::text starts out as "", and ::iconic should be FALSE by default.
This commit is contained in:
parent
44c412ecc7
commit
ff4f918a69
@ -879,7 +879,7 @@ gtk_model_button_class_init (GtkModelButtonClass *class)
|
||||
g_param_spec_string ("text",
|
||||
P_("Text"),
|
||||
P_("The text"),
|
||||
NULL,
|
||||
"",
|
||||
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
|
||||
|
||||
/**
|
||||
@ -956,7 +956,7 @@ gtk_model_button_class_init (GtkModelButtonClass *class)
|
||||
g_param_spec_boolean ("iconic",
|
||||
P_("Iconic"),
|
||||
P_("Whether to prefer the icon over text"),
|
||||
TRUE,
|
||||
FALSE,
|
||||
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
|
||||
g_object_class_install_properties (object_class, LAST_PROPERTY, properties);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user