[gtk+/gtk-3-14] menubutton: Fix double freeze_notify
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-14] menubutton: Fix double freeze_notify
- Date: Sun, 11 Jan 2015 02:53:26 +0000 (UTC)
commit ef8322c46e1db1596f8dd698c1b5c97bf92e2632
Author: Timm Bäder <mail baedert org>
Date: Mon Dec 15 10:29:11 2014 +0100
menubutton: Fix double freeze_notify
gtk/gtkmenubutton.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkmenubutton.c b/gtk/gtkmenubutton.c
index 656392f..d75d5a3 100644
--- a/gtk/gtkmenubutton.c
+++ b/gtk/gtkmenubutton.c
@@ -626,7 +626,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);
@@ -1176,7 +1176,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));
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]