headerbar: Stop using GtkMenuButton::use-popover

This property is going away.
This commit is contained in:
Matthias Clasen 2019-12-26 22:07:20 -05:00
parent 4c9b0d82af
commit 901518ec25

View File

@ -405,7 +405,6 @@ _gtk_header_bar_update_window_buttons (GtkHeaderBar *bar)
button = gtk_menu_button_new ();
gtk_widget_set_valign (button, GTK_ALIGN_CENTER);
gtk_menu_button_set_menu_model (GTK_MENU_BUTTON (button), menu);
gtk_menu_button_set_use_popover (GTK_MENU_BUTTON (button), TRUE);
gtk_style_context_add_class (gtk_widget_get_style_context (button), "titlebutton");
gtk_style_context_add_class (gtk_widget_get_style_context (button), "appmenu");
image = gtk_image_new ();