Commit ff4f918a authored by Matthias Clasen's avatar Matthias Clasen

GtkModelButton: specify the proper default values

Caught by the defaultvalue test: ::text starts out as "", and
::iconic should be FALSE by default.
parent 44c412ec
......@@ -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);
......
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