New utility function. (gtk_file_system_gnome_vfs_get_folder): Use

2003-10-20  Federico Mena Quintero  <federico@ximian.com>

	* gtkfilesystemgnomevfs.c (folder_child_new): New utility
	function.
	(gtk_file_system_gnome_vfs_get_folder): Use folder_child_new().
	(gtk_file_folder_gnome_vfs_get_info): Likewise.
	(directory_load_callback): Likewise.
	(monitor_callback): Likewise.

	* TODO: Removed the item about factoring out the code that creates
	FolderChild structures.
This commit is contained in:
Federico Mena Quintero
2003-10-20 20:17:35 +00:00
committed by Federico Mena Quintero
parent 7c659465e2
commit 1e49d49a3e

View File

@ -548,6 +548,7 @@ gtk_file_system_unix_add_bookmark (GtkFileSystem *file_system,
const GtkFilePath *path,
GError **error)
{
/* FIXME: Implement as a really simple ~/.gtk-bookmarks */
g_set_error (error,
GTK_FILE_SYSTEM_ERROR,
GTK_FILE_SYSTEM_ERROR_FAILED,
@ -560,6 +561,7 @@ gtk_file_system_unix_remove_bookmark (GtkFileSystem *file_system,
const GtkFilePath *path,
GError **error)
{
/* FIXME: Implement as a really simple ~/.gtk-bookmarks */
g_set_error (error,
GTK_FILE_SYSTEM_ERROR,
GTK_FILE_SYSTEM_ERROR_FAILED,
@ -570,6 +572,7 @@ gtk_file_system_unix_remove_bookmark (GtkFileSystem *file_system,
static GSList *
gtk_file_system_unix_list_bookmarks (GtkFileSystem *file_system)
{
/* FIXME: Implement as a really simple ~/.gtk-bookmarks */
return NULL;
}