Commit b7e5a2dd authored by Daniel Boles's avatar Daniel Boles

testmodelbutton: Fix wrongly overridding MB child

I was setting a GtkButton:label, which resulted in the ModelButton's own
custom children getting lost. That doesn't make for a useful test...

GNOME/gtk#163 (comment 94842)
parent e52aa73b
......@@ -46,8 +46,8 @@ on_application_activate (GApplication *gapplication,
model_button = g_object_new (GTK_TYPE_MODEL_BUTTON,
"action-name", "app.beep",
"text", "It’s-a-me! ModelButton",
gtk_button_set_label (GTK_BUTTON (model_button), "It’s-a-me! ModelButton");
gtk_container_add (GTK_CONTAINER (box), model_button);
widget = gtk_combo_box_text_new ();
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