[gtk+/wip/baedert/drawing: 4/50] filechooserwidget: Fix save widgets
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 4/50] filechooserwidget: Fix save widgets
- Date: Fri, 16 Jun 2017 14:16:46 +0000 (UTC)
commit 08c0a3cce47b90cb787add72c688a7c6879e7dc4
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 ec51668..b2c4c13 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -2707,8 +2707,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]