Commit 037454d9 authored by Daniel Boles's avatar Daniel Boles
Browse files

testscrolledwindow: GtkMenuButton != GtkContainer

It's not anymore, so don't cast it to one... Use the new :label instead.
parent 49d994dd
Pipeline #83332 passed with stages
in 22 minutes and 54 seconds
......@@ -217,7 +217,7 @@ scrollable_policy (void)
widget = gtk_menu_button_new ();
gtk_menu_button_set_popover (GTK_MENU_BUTTON (widget), popover);
gtk_container_add (GTK_CONTAINER (widget), gtk_label_new ("Popover"));
gtk_menu_button_set_label (GTK_MENU_BUTTON (widget), "Popover");
gtk_container_add (GTK_CONTAINER (cntl), widget);
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
Supports Markdown
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