From 640d68778a82ae1c338d1583af49120c7119e3ae Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Tue, 10 Jun 2008 00:39:35 +0000 Subject: Bug 520874 - Should use gio directly. 2008-06-10 Carlos Garnacho 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 --- gtk/gtkfilesystemmodel.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'gtk/gtkfilesystemmodel.h') 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); -- cgit v1.2.1