diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2008-12-14 02:14:19 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-12-14 02:14:19 +0000 |
commit | 50329fa7c00938d9aea14751f0367903386a730a (patch) | |
tree | 4ae708a06ba4089266040bfc310848169b105b05 /gtk/gtkfilesystem.h | |
parent | d68d9790df7ded822e318908a4d7c0639c9f7d6f (diff) | |
download | gtk+-50329fa7c00938d9aea14751f0367903386a730a.tar.gz |
Privately export this method. It classifies directories and mountables the
* gtk/gtkfilesystem.[hc] (_gtk_file_info_consider_as_directory):
Privately export this method. It classifies directories and mountables
the same.
* gtk/gtkfilesystem.c (enclosing_volume_mount_cb): Silently drop
G_IO_ERROR_ALREADY_MOUNTED error for gvfs backends without visible
mounts.
* gtk/gtkfilesystemmodel.c:
* gtk/gtkfilechooserbutton.c:
* gtk/gtkfilechooserentry.c:
* gtk/gtkfilechooserdefault.c: Use the new function instead of
direct checks for G_FILE_TYPE_DIRECTORY throughout.
svn path=/trunk/; revision=21898
Diffstat (limited to 'gtk/gtkfilesystem.h')
-rw-r--r-- | gtk/gtkfilesystem.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkfilesystem.h b/gtk/gtkfilesystem.h index 87eaf54236..58f1b4191f 100644 --- a/gtk/gtkfilesystem.h +++ b/gtk/gtkfilesystem.h @@ -172,6 +172,8 @@ GdkPixbuf * _gtk_file_info_render_icon (GFileInfo *info, GtkWidget *widget, gint icon_size); +gboolean _gtk_file_info_consider_as_directory (GFileInfo *info); + G_END_DECLS #endif /* __GTK_FILE_SYSTEM_H__ */ |