mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-30 02:57:38 +00:00
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
This commit is contained in:
parent
48ecad844e
commit
b3a3e91f02
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user