[gtk] The file chooser is no box anymore



commit 3b8d20614372b17cc8c91e8159e76a9eae91e60b
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Aug 29 12:35:12 2018 -0400

    The file chooser is no box anymore
    
    Don't treat it as one, it does not like it.
    
    Closes https://gitlab.gnome.org/GNOME/gtk/issues/1297

 gtk/gtkfilechooserwidget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index 73a125dae5..67062a0b14 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -6092,7 +6092,7 @@ gtk_file_chooser_widget_get_default_size (GtkFileChooserEmbed *chooser_embed,
     {
       gtk_widget_get_preferred_size (priv->extra_align,
                                      &req, NULL);
-      *default_height += gtk_box_get_spacing (GTK_BOX (chooser_embed)) + req.height;
+      *default_height += gtk_box_get_spacing (priv->box) + req.height;
     }
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]