[gtk+/wip/baedert/drawing: 114/142] filechooserwidget: Fix save widgets



commit 3fb969dce4d380d63a03cf50af305ec0b392d963
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 0b0646d..9f38768 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -2708,8 +2708,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]