menubutton: Fix double freeze_notify

This commit is contained in:
Timm Bäder 2014-12-15 10:29:11 +01:00
parent b52a06ac6f
commit 6e7bf9ca7a

View File

@ -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));
}
/**