diff options
author | Matthias Clasen <mclasen@redhat.com> | 2008-03-31 04:46:22 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-03-31 04:46:22 +0000 |
commit | a07b747200e1b6ffad8a9cadf1d6dce5d89d6eac (patch) | |
tree | 33a9f48c463daddddfcef08157e9e762722ce33d /gio/gfile.h | |
parent | 6bbef67ad629b5027125dd5f2e61296e3d7679af (diff) | |
download | glib-a07b747200e1b6ffad8a9cadf1d6dce5d89d6eac.tar.gz |
Add g_file_query_file_type convenience function to query the type of a
2008-03-30 Matthias Clasen <mclasen@redhat.com>
* gio.symbols:
* gfile.c:
* gfile.h: Add g_file_query_file_type convenience function
to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
svn path=/trunk/; revision=6784
Diffstat (limited to 'gio/gfile.h')
-rw-r--r-- | gio/gfile.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gio/gfile.h b/gio/gfile.h index a67b72eb7..d93fe6738 100644 --- a/gio/gfile.h +++ b/gio/gfile.h @@ -646,6 +646,9 @@ GFileOutputStream * g_file_replace_finish (GFile GError **error); gboolean g_file_query_exists (GFile *file, GCancellable *cancellable); +GFileType g_file_query_file_type (GFile *file, + GFileQueryInfoFlags flags, + GCancellable *cancellable); GFileInfo * g_file_query_info (GFile *file, const char *attributes, GFileQueryInfoFlags flags, |