summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2008-01-17 14:30:07 +0000
committerAlexander Larsson <alexl@src.gnome.org>2008-01-17 14:30:07 +0000
commit359339fe25761fef29cd77f4d6408e741193e235 (patch)
treec199a184110751353fa4df7d020d4f66de557977
parent35cf559e3df9a8011356dba07599afe5b34b3fb4 (diff)
downloadglib-359339fe25761fef29cd77f4d6408e741193e235.tar.gz
Add the async find_enclosing_mount version to the header file too.
2008-01-17 Alexander Larsson <alexl@redhat.com> * gfile.h: Add the async find_enclosing_mount version to the header file too. svn path=/trunk/; revision=6326
-rw-r--r--gio/ChangeLog6
-rw-r--r--gio/gfile.h14
2 files changed, 17 insertions, 3 deletions
diff --git a/gio/ChangeLog b/gio/ChangeLog
index d7563e2b3..cf3a4ad81 100644
--- a/gio/ChangeLog
+++ b/gio/ChangeLog
@@ -1,5 +1,11 @@
2008-01-17 Alexander Larsson <alexl@redhat.com>
+ * gfile.h:
+ Add the async find_enclosing_mount version
+ to the header file too.
+
+2008-01-17 Alexander Larsson <alexl@redhat.com>
+
* gfile.c:
Add async version of find_enclosing_mount
with default implementation.
diff --git a/gio/gfile.h b/gio/gfile.h
index 8d8ee6b8c..797daa457 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,