summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserdefault.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2009-06-24 18:41:03 +0200
committerBenjamin Otte <otte@gnome.org>2009-10-15 22:00:09 +0200
commitaffa8c84597651931ac7518da211616d4dd0392e (patch)
tree3f9d73acd0ac996c2863c066f5e9dcb305c6cfda /gtk/gtkfilechooserdefault.c
parent10e8d6abca18836c69da9101421fc35f29a0a207 (diff)
downloadgtk+-affa8c84597651931ac7518da211616d4dd0392e.tar.gz
Add a constructor to filesystem model that does not monitor a directory
This is in preparation for switching search and recent models to use GtkFileSystemModel
Diffstat (limited to 'gtk/gtkfilechooserdefault.c')
-rw-r--r--gtk/gtkfilechooserdefault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index 67537537b8..d7ba26e5fe 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -6927,7 +6927,7 @@ set_list_model (GtkFileChooserDefault *impl,
gtk_tree_view_set_model (GTK_TREE_VIEW (impl->browse_files_tree_view), NULL);
impl->browse_files_model =
- _gtk_file_system_model_new (impl->current_folder,
+ _gtk_file_system_model_new_for_directory (impl->current_folder,
MODEL_ATTRIBUTES,
file_system_model_set,
impl,