[gtk+] menubutton: Fix double freeze_notify
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] menubutton: Fix double freeze_notify
- Date: Tue, 16 Dec 2014 18:15:09 +0000 (UTC)
commit 6e7bf9ca7a8077452bb6cabcc81e8407e268cd99
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 875b2d7..bc0f437 100644
--- a/gtk/gtkmenubutton.c
+++ b/gtk/gtkmenubutton.c
@@ -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));
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]