[gtk+] Fix file chooser



commit 4908b5ef5416c7a4b7d05d6215edd2a8a0fa5c06
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jan 9 17:20:23 2018 -0500

    Fix file chooser
    
    Now that the places sidebar is private, we need to
    ensure the type is known.

 gtk/gtkfilechooserwidget.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index a0e0dc3..da74bc6 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -8580,6 +8580,7 @@ gtk_file_chooser_widget_init (GtkFileChooserWidget *impl)
    */
   g_type_ensure (GTK_TYPE_PATH_BAR);
   g_type_ensure (GTK_TYPE_PLACES_VIEW);
+  g_type_ensure (GTK_TYPE_PLACES_SIDEBAR);
   g_type_ensure (GTK_TYPE_FILE_CHOOSER_ERROR_STACK);
 
   gtk_widget_init_template (GTK_WIDGET (impl));


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