diff options
author | Benjamin Otte <otte@gnome.org> | 2009-06-24 18:41:03 +0200 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2009-10-15 22:00:09 +0200 |
commit | affa8c84597651931ac7518da211616d4dd0392e (patch) | |
tree | 3f9d73acd0ac996c2863c066f5e9dcb305c6cfda /gtk/gtkfilesystemmodel.h | |
parent | 10e8d6abca18836c69da9101421fc35f29a0a207 (diff) | |
download | gtk+-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/gtkfilesystemmodel.h')
-rw-r--r-- | gtk/gtkfilesystemmodel.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/gtkfilesystemmodel.h b/gtk/gtkfilesystemmodel.h index ae04e2f0ed..d27a647007 100644 --- a/gtk/gtkfilesystemmodel.h +++ b/gtk/gtkfilesystemmodel.h @@ -42,7 +42,11 @@ typedef gboolean (*GtkFileSystemModelGetValue) (GtkFileSystemModel *model, GValue *value, gpointer user_data); -GtkFileSystemModel *_gtk_file_system_model_new (GFile * dir, +GtkFileSystemModel *_gtk_file_system_model_new (GtkFileSystemModelGetValue get_func, + gpointer get_data, + guint n_columns, + ...); +GtkFileSystemModel *_gtk_file_system_model_new_for_directory(GFile * dir, const gchar * attributes, GtkFileSystemModelGetValue get_func, gpointer get_data, |