Really make GtkFileSystem private by _-prefixing all functions.
* gtk/gtkfilechooserbutton.c:
* gtk/gtkfilechooserdefault.c:
* gtk/gtkfilechooserentry.c:
* gtk/gtkfilesystem.c:
* gtk/gtkfilesystem.h:
* gtk/gtkfilesystemmodel.c:
* gtk/gtkpathbar.c: Really make GtkFileSystem private
by _-prefixing all functions.
svn path=/trunk/; revision=20378
This commit is contained in:
@ -27,14 +27,14 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GTK_TYPE_FILE_SYSTEM (gtk_file_system_get_type ())
|
||||
#define GTK_TYPE_FILE_SYSTEM (_gtk_file_system_get_type ())
|
||||
#define GTK_FILE_SYSTEM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_FILE_SYSTEM, GtkFileSystem))
|
||||
#define GTK_FILE_SYSTEM_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), GTK_TYPE_FILE_SYSTEM, GtkFileSystemClass))
|
||||
#define GTK_IS_FILE_SYSTEM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_FILE_SYSTEM))
|
||||
#define GTK_IS_FILE_SYSTEM_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE ((c), GTK_TYPE_FILE_SYSTEM))
|
||||
#define GTK_FILE_SYSTEM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_FILE_SYSTEM, GtkFileSystemClass))
|
||||
|
||||
#define GTK_TYPE_FOLDER (gtk_folder_get_type ())
|
||||
#define GTK_TYPE_FOLDER (_gtk_folder_get_type ())
|
||||
#define GTK_FOLDER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_FOLDER, GtkFolder))
|
||||
#define GTK_FOLDER_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), GTK_TYPE_FOLDER, GtkFolderClass))
|
||||
#define GTK_IS_FOLDER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_FOLDER))
|
||||
@ -44,7 +44,7 @@ G_BEGIN_DECLS
|
||||
/* GError enumeration for GtkFileSystem
|
||||
*/
|
||||
|
||||
#define GTK_FILE_SYSTEM_ERROR (gtk_file_system_error_quark ())
|
||||
#define GTK_FILE_SYSTEM_ERROR (_gtk_file_system_error_quark ())
|
||||
|
||||
typedef enum
|
||||
{
|
||||
@ -56,7 +56,7 @@ typedef enum
|
||||
GTK_FILE_SYSTEM_ERROR_ALREADY_EXISTS
|
||||
} GtkFileSystemError;
|
||||
|
||||
GQuark gtk_file_system_error_quark (void);
|
||||
GQuark _gtk_file_system_error_quark (void);
|
||||
|
||||
typedef struct GtkFileSystemClass GtkFileSystemClass;
|
||||
typedef struct GtkFileSystem GtkFileSystem;
|
||||
@ -111,84 +111,84 @@ typedef void (* GtkFileSystemVolumeMountCallback) (GCancellable *cancell
|
||||
gpointer data);
|
||||
|
||||
/* GtkFileSystem methods */
|
||||
GType gtk_file_system_get_type (void) G_GNUC_CONST;
|
||||
GType _gtk_file_system_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GtkFileSystem * gtk_file_system_new (void);
|
||||
GtkFileSystem * _gtk_file_system_new (void);
|
||||
|
||||
GSList * gtk_file_system_list_volumes (GtkFileSystem *file_system);
|
||||
GSList * gtk_file_system_list_bookmarks (GtkFileSystem *file_system);
|
||||
GSList * _gtk_file_system_list_volumes (GtkFileSystem *file_system);
|
||||
GSList * _gtk_file_system_list_bookmarks (GtkFileSystem *file_system);
|
||||
|
||||
gboolean gtk_file_system_parse (GtkFileSystem *file_system,
|
||||
GFile *base_file,
|
||||
const gchar *str,
|
||||
GFile **folder,
|
||||
gchar **file_part,
|
||||
GError **error);
|
||||
gboolean _gtk_file_system_parse (GtkFileSystem *file_system,
|
||||
GFile *base_file,
|
||||
const gchar *str,
|
||||
GFile **folder,
|
||||
gchar **file_part,
|
||||
GError **error);
|
||||
|
||||
GCancellable * gtk_file_system_get_folder (GtkFileSystem *file_system,
|
||||
GFile *file,
|
||||
const gchar *attributes,
|
||||
GtkFileSystemGetFolderCallback callback,
|
||||
gpointer data);
|
||||
GCancellable * gtk_file_system_get_info (GtkFileSystem *file_system,
|
||||
GFile *file,
|
||||
const gchar *attributes,
|
||||
GtkFileSystemGetInfoCallback callback,
|
||||
gpointer data);
|
||||
GCancellable * gtk_file_system_mount_volume (GtkFileSystem *file_system,
|
||||
GtkFileSystemVolume *volume,
|
||||
GMountOperation *mount_operation,
|
||||
GtkFileSystemVolumeMountCallback callback,
|
||||
gpointer data);
|
||||
GCancellable * gtk_file_system_mount_enclosing_volume (GtkFileSystem *file_system,
|
||||
GFile *file,
|
||||
GMountOperation *mount_operation,
|
||||
GtkFileSystemVolumeMountCallback callback,
|
||||
gpointer data);
|
||||
GCancellable * _gtk_file_system_get_folder (GtkFileSystem *file_system,
|
||||
GFile *file,
|
||||
const gchar *attributes,
|
||||
GtkFileSystemGetFolderCallback callback,
|
||||
gpointer data);
|
||||
GCancellable * _gtk_file_system_get_info (GtkFileSystem *file_system,
|
||||
GFile *file,
|
||||
const gchar *attributes,
|
||||
GtkFileSystemGetInfoCallback callback,
|
||||
gpointer data);
|
||||
GCancellable * _gtk_file_system_mount_volume (GtkFileSystem *file_system,
|
||||
GtkFileSystemVolume *volume,
|
||||
GMountOperation *mount_operation,
|
||||
GtkFileSystemVolumeMountCallback callback,
|
||||
gpointer data);
|
||||
GCancellable * _gtk_file_system_mount_enclosing_volume (GtkFileSystem *file_system,
|
||||
GFile *file,
|
||||
GMountOperation *mount_operation,
|
||||
GtkFileSystemVolumeMountCallback callback,
|
||||
gpointer data);
|
||||
|
||||
gboolean gtk_file_system_insert_bookmark (GtkFileSystem *file_system,
|
||||
GFile *file,
|
||||
gint position,
|
||||
GError **error);
|
||||
gboolean gtk_file_system_remove_bookmark (GtkFileSystem *file_system,
|
||||
GFile *file,
|
||||
GError **error);
|
||||
gboolean _gtk_file_system_insert_bookmark (GtkFileSystem *file_system,
|
||||
GFile *file,
|
||||
gint position,
|
||||
GError **error);
|
||||
gboolean _gtk_file_system_remove_bookmark (GtkFileSystem *file_system,
|
||||
GFile *file,
|
||||
GError **error);
|
||||
|
||||
gchar * gtk_file_system_get_bookmark_label (GtkFileSystem *file_system,
|
||||
GFile *file);
|
||||
void gtk_file_system_set_bookmark_label (GtkFileSystem *file_system,
|
||||
GFile *file,
|
||||
const gchar *label);
|
||||
gchar * _gtk_file_system_get_bookmark_label (GtkFileSystem *file_system,
|
||||
GFile *file);
|
||||
void _gtk_file_system_set_bookmark_label (GtkFileSystem *file_system,
|
||||
GFile *file,
|
||||
const gchar *label);
|
||||
|
||||
GtkFileSystemVolume * gtk_file_system_get_volume_for_file (GtkFileSystem *file_system,
|
||||
GFile *file);
|
||||
GtkFileSystemVolume * _gtk_file_system_get_volume_for_file (GtkFileSystem *file_system,
|
||||
GFile *file);
|
||||
|
||||
/* GtkFolder functions */
|
||||
GSList * gtk_folder_list_children (GtkFolder *folder);
|
||||
GFileInfo * gtk_folder_get_info (GtkFolder *folder,
|
||||
GFile *file);
|
||||
GSList * _gtk_folder_list_children (GtkFolder *folder);
|
||||
GFileInfo * _gtk_folder_get_info (GtkFolder *folder,
|
||||
GFile *file);
|
||||
|
||||
gboolean gtk_folder_is_finished_loading (GtkFolder *folder);
|
||||
gboolean _gtk_folder_is_finished_loading (GtkFolder *folder);
|
||||
|
||||
|
||||
/* GtkFileSystemVolume methods */
|
||||
gchar * gtk_file_system_volume_get_display_name (GtkFileSystemVolume *volume);
|
||||
gboolean gtk_file_system_volume_is_mounted (GtkFileSystemVolume *volume);
|
||||
GFile * gtk_file_system_volume_get_root (GtkFileSystemVolume *volume);
|
||||
GdkPixbuf * gtk_file_system_volume_render_icon (GtkFileSystemVolume *volume,
|
||||
GtkWidget *widget,
|
||||
gint icon_size,
|
||||
GError **error);
|
||||
gchar * _gtk_file_system_volume_get_display_name (GtkFileSystemVolume *volume);
|
||||
gboolean _gtk_file_system_volume_is_mounted (GtkFileSystemVolume *volume);
|
||||
GFile * _gtk_file_system_volume_get_root (GtkFileSystemVolume *volume);
|
||||
GdkPixbuf * _gtk_file_system_volume_render_icon (GtkFileSystemVolume *volume,
|
||||
GtkWidget *widget,
|
||||
gint icon_size,
|
||||
GError **error);
|
||||
|
||||
void gtk_file_system_volume_free (GtkFileSystemVolume *volume);
|
||||
void _gtk_file_system_volume_free (GtkFileSystemVolume *volume);
|
||||
|
||||
/* GtkFileSystemBookmark methods */
|
||||
void gtk_file_system_bookmark_free (GtkFileSystemBookmark *bookmark);
|
||||
void _gtk_file_system_bookmark_free (GtkFileSystemBookmark *bookmark);
|
||||
|
||||
/* GFileInfo helper functions */
|
||||
GdkPixbuf * gtk_file_info_render_icon (GFileInfo *info,
|
||||
GtkWidget *widget,
|
||||
gint icon_size);
|
||||
GdkPixbuf * _gtk_file_info_render_icon (GFileInfo *info,
|
||||
GtkWidget *widget,
|
||||
gint icon_size);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user