diff options
author | Carlos Garnacho <carlos@imendio.com> | 2008-06-10 00:39:35 +0000 |
---|---|---|
committer | Carlos Garnacho <carlosg@src.gnome.org> | 2008-06-10 00:39:35 +0000 |
commit | 640d68778a82ae1c338d1583af49120c7119e3ae (patch) | |
tree | 72c424513afd4aeae2885ad037ce2f1cfe203546 /gtk/gtkfilesystemmodel.h | |
parent | d717e77c1dc6a4588154a779062aa385554c8bb9 (diff) | |
download | gtk+-640d68778a82ae1c338d1583af49120c7119e3ae.tar.gz |
Bug 520874 - Should use gio directly.
2008-06-10 Carlos Garnacho <carlos@imendio.com>
Bug 520874 - Should use gio directly.
* gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
provides helper functions for asynchronous calls, folder abstraction
and uniform handling of volumes/drives/mounts.
* gtk/gtkfilesystemwin32.[ch]:
* gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.
* gtk/gtkfilechooser.c:
* gtk/gtkfilechooserbutton.c:
* gtk/gtkfilechooserdefault.c:
* gtk/gtkfilechooserentry.[ch]:
* gtk/gtkfilechooserprivate.h:
* gtk/gtkfilechooserutils.c:
* gtk/gtkfilesystemmodel.[ch]:
* gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
Do not load filesystem implementation modules.
* gtk/Makefile.am:
* gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
anymore, nor the unix/win32 implementations.
* README.in: Add blurb about these changes.
svn path=/trunk/; revision=20342
Diffstat (limited to 'gtk/gtkfilesystemmodel.h')
-rw-r--r-- | gtk/gtkfilesystemmodel.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtkfilesystemmodel.h b/gtk/gtkfilesystemmodel.h index c2fa493db4..664aaf2b37 100644 --- a/gtk/gtkfilesystemmodel.h +++ b/gtk/gtkfilesystemmodel.h @@ -42,13 +42,13 @@ typedef enum { } GtkFileSystemModelColumns; GtkFileSystemModel *_gtk_file_system_model_new (GtkFileSystem *file_system, - const GtkFilePath *root_path, + GFile *root_file, gint max_depth, - GtkFileInfoType types, + const gchar *attributes, GError **error); -const GtkFileInfo * _gtk_file_system_model_get_info (GtkFileSystemModel *model, +GFileInfo * _gtk_file_system_model_get_info (GtkFileSystemModel *model, GtkTreeIter *iter); -const GtkFilePath * _gtk_file_system_model_get_path (GtkFileSystemModel *model, +GFile * _gtk_file_system_model_get_file (GtkFileSystemModel *model, GtkTreeIter *iter); void _gtk_file_system_model_set_show_hidden (GtkFileSystemModel *model, gboolean show_hidden); @@ -58,8 +58,8 @@ void _gtk_file_system_model_set_show_files (GtkFileSystemModel gboolean show_files); typedef gboolean (*GtkFileSystemModelFilter) (GtkFileSystemModel *model, - GtkFilePath *path, - const GtkFileInfo *info, + GFile *file, + GFileInfo *info, gpointer user_data); void _gtk_file_system_model_set_filter (GtkFileSystemModel *model, @@ -72,7 +72,7 @@ typedef void (*GtkFileSystemModelPathFunc) (GtkFileSystemModel *model, gpointer user_data); void _gtk_file_system_model_path_do (GtkFileSystemModel *model, - const GtkFilePath *path, + GFile *file, GtkFileSystemModelPathFunc func, gpointer user_data); |