From: Alexander Larsson Date: Thu, 17 Jan 2008 14:30:07 +0000 (+0000) Subject: Add the async find_enclosing_mount version to the header file too. X-Git-Tag: GLIB_2_15_3~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=359339fe25761fef29cd77f4d6408e741193e235;p=platform%2Fupstream%2Fglib.git Add the async find_enclosing_mount version to the header file too. 2008-01-17 Alexander Larsson * gfile.h: Add the async find_enclosing_mount version to the header file too. svn path=/trunk/; revision=6326 --- diff --git a/gio/ChangeLog b/gio/ChangeLog index d7563e2..cf3a4ad 100644 --- a/gio/ChangeLog +++ b/gio/ChangeLog @@ -1,5 +1,11 @@ 2008-01-17 Alexander Larsson + * gfile.h: + Add the async find_enclosing_mount version + to the header file too. + +2008-01-17 Alexander Larsson + * gfile.c: Add async version of find_enclosing_mount with default implementation. diff --git a/gio/gfile.h b/gio/gfile.h index 8d8ee6b..797daa4 100644 --- a/gio/gfile.h +++ b/gio/gfile.h @@ -633,9 +633,17 @@ GFileInfo * g_file_query_filesystem_info (GFile const char *attributes, GCancellable *cancellable, GError **error); -GMount * g_file_find_enclosing_mount (GFile *file, - GCancellable *cancellable, - GError **error); +GMount * g_file_find_enclosing_mount (GFile *file, + GCancellable *cancellable, + GError **error); +void g_file_find_enclosing_mount_async (GFile *file, + int io_priority, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +GMount * g_file_find_enclosing_mount_finish (GFile *file, + GAsyncResult *res, + GError **error); GFileEnumerator * g_file_enumerate_children (GFile *file, const char *attributes, GFileQueryInfoFlags flags,