diff options
Diffstat (limited to 'gtk/gtkfilesystemmodel.h')
-rw-r--r-- | gtk/gtkfilesystemmodel.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtkfilesystemmodel.h b/gtk/gtkfilesystemmodel.h index e84d004def..759c1ab3c1 100644 --- a/gtk/gtkfilesystemmodel.h +++ b/gtk/gtkfilesystemmodel.h @@ -56,6 +56,14 @@ void _gtk_file_system_model_set_show_folders (GtkFileSystemModel void _gtk_file_system_model_set_show_files (GtkFileSystemModel *model, gboolean show_files); +typedef gboolean (*GtkFileSystemModelFilter) (GtkFileSystemModel *model, + GtkFilePath *path, + const GtkFileInfo *info, + gpointer user_data); + +void _gtk_file_system_model_set_filter (GtkFileSystemModel *model, + GtkFileSystemModelFilter filter, + gpointer user_data); typedef void (*GtkFileSystemModelPathFunc) (GtkFileSystemModel *model, GtkTreePath *path, |