diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-09-01 01:00:46 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-09-01 01:00:46 -0400 |
commit | b3a3e91f024785b36247ede0c524520e1f9242c7 (patch) | |
tree | 9a811d4af290a207628874dc623485e8cd719f99 /gtk/gtkfilechooserwidget.c | |
parent | 48ecad844e81585f4b7f3a64e8c8b724eee82142 (diff) | |
download | gtk+-b3a3e91f024785b36247ede0c524520e1f9242c7.tar.gz |
file chooser: Make sure places view type is known
Similar to how we handle GtkPathBar, make sure that the
type for GtkPlacesView is registered before we load the
template.
https://bugzilla.gnome.org//show_bug.cgi?id=754133
Diffstat (limited to 'gtk/gtkfilechooserwidget.c')
-rw-r--r-- | gtk/gtkfilechooserwidget.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c index bc28283e05..8c25741bb9 100644 --- a/gtk/gtkfilechooserwidget.c +++ b/gtk/gtkfilechooserwidget.c @@ -8571,6 +8571,8 @@ gtk_file_chooser_widget_init (GtkFileChooserWidget *impl) * definition before calling gtk_widget_init_template() */ g_type_ensure (GTK_TYPE_PATH_BAR); + g_type_ensure (GTK_TYPE_PLACES_VIEW); + gtk_widget_init_template (GTK_WIDGET (impl)); gtk_widget_set_size_request (priv->browse_files_tree_view, 280, -1); |