summaryrefslogtreecommitdiff
path: root/gtk/gtkdialog.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-07-02 00:33:46 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-07-02 00:33:46 -0400
commit10892863d5dcfabbcb0578d23e6d4334f672f630 (patch)
tree67e794fea497111b859dd0b7b349cf47884761f6 /gtk/gtkdialog.c
parentcd591a03e7195846cd4788b4a8800e0ae14cc64a (diff)
downloadgtk+-10892863d5dcfabbcb0578d23e6d4334f672f630.tar.gz
GtkDialog: fix invisible action area
When there area explicitly added buttons in the action area, we were trying to ensure that the action area is visible, but failed, since we are now hiding the action_box. Fix it by showing the action_box when things are left in the action area.
Diffstat (limited to 'gtk/gtkdialog.c')
-rw-r--r--gtk/gtkdialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c
index c668a4983e..48d6426962 100644
--- a/gtk/gtkdialog.c
+++ b/gtk/gtkdialog.c
@@ -274,7 +274,7 @@ add_cb (GtkContainer *container,
if (priv->use_header_bar)
g_warning ("Content added to the action area of a dialog using header bars");
- gtk_widget_show (GTK_WIDGET (container));
+ gtk_widget_show (GTK_WIDGET (priv->action_box));
}
static void