mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 00:11:29 +00:00
menubutton: Fix double freeze_notify
This commit is contained in:
parent
b52a06ac6f
commit
6e7bf9ca7a
@ -627,7 +627,7 @@ static void
|
||||
add_arrow (GtkMenuButton *menu_button)
|
||||
{
|
||||
GtkWidget *arrow;
|
||||
|
||||
|
||||
arrow = gtk_image_new ();
|
||||
set_arrow_type (GTK_IMAGE (arrow), menu_button->priv->arrow_type);
|
||||
gtk_container_add (GTK_CONTAINER (menu_button), arrow);
|
||||
@ -1187,7 +1187,7 @@ gtk_menu_button_set_popover (GtkMenuButton *menu_button,
|
||||
|
||||
g_object_notify (G_OBJECT (menu_button), "popover");
|
||||
g_object_notify (G_OBJECT (menu_button), "menu-model");
|
||||
g_object_freeze_notify (G_OBJECT (menu_button));
|
||||
g_object_thaw_notify (G_OBJECT (menu_button));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user