[gtk+] filechooserwidget: Fix save widgets
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] filechooserwidget: Fix save widgets
- Date: Thu, 20 Jul 2017 01:46:03 +0000 (UTC)
commit cc7038b74081f41b90451c1508f4cd1c51570205
Author: Timm Bäder <mail baedert org>
Date: Thu May 25 08:40:00 2017 +0200
filechooserwidget: Fix save widgets
Now that GtkFileChooserWidget is not a GtkBox anymore, we can't just
gtk_box_pack_start child widgets to it.
gtk/gtkfilechooserwidget.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index 08c96bb..49fd731 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -2693,8 +2693,8 @@ save_widgets_create (GtkFileChooserWidget *impl)
gtk_label_set_mnemonic_widget (GTK_LABEL (widget), priv->location_entry);
priv->save_widgets = vbox;
- gtk_box_pack_start (GTK_BOX (impl), priv->save_widgets);
- gtk_box_reorder_child (GTK_BOX (impl), priv->save_widgets, 0);
+ gtk_box_pack_start (GTK_BOX (priv->box), priv->save_widgets);
+ gtk_box_reorder_child (GTK_BOX (priv->box), priv->save_widgets, 0);
gtk_widget_show (priv->save_widgets);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]