summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGian Mario Tagliaretti <gianmt@gnome.org>2009-03-30 22:50:04 +0000
committerGian Mario Tagliaretti <gianmt@src.gnome.org>2009-03-30 22:50:04 +0000
commit43f80a09363d72d92b015a8d19e7b00d7529fe18 (patch)
tree0cd1eaa058e9eb54a38dcc6a420a4a6c1c5d35d3
parentf140cf46eac40bddb31001765289296158d6f8b6 (diff)
downloadpygobject-43f80a09363d72d92b015a8d19e7b00d7529fe18.tar.gz
pygobject-43f80a09363d72d92b015a8d19e7b00d7529fe18.tar.xz
pygobject-43f80a09363d72d92b015a8d19e7b00d7529fe18.zip
Add missing g_file_query_filesystem_info_async and
2009-03-31 Gian Mario Tagliaretti <gianmt@gnome.org> * gio/gio.defs: Add missing g_file_query_filesystem_info_async and g_file_query_filesystem_info_finish svn path=/trunk/; revision=1050
-rw-r--r--ChangeLog5
-rw-r--r--gio/gio.defs35
2 files changed, 28 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index fb6da34..fc14ddd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-03-31 Gian Mario Tagliaretti <gianmt@gnome.org>
+
+ * gio/gio.defs: Add missing g_file_query_filesystem_info_async and
+ g_file_query_filesystem_info_finish
+
2009-03-30 Gian Mario Tagliaretti <gianmt@gnome.org>
* gio/gfile.override: (_wrap_g_file_mount_mountable)
diff --git a/gio/gio.defs b/gio/gio.defs
index 59ca887..5dd822d 100644
--- a/gio/gio.defs
+++ b/gio/gio.defs
@@ -1798,6 +1798,29 @@
)
)
+(define-method query_filesystem_info_async
+ (of-object "GFile")
+ (c-name "g_file_query_filesystem_info_async")
+ (return-type "none")
+ (parameters
+ '("const-char*" "attributes")
+ '("int" "io_priority")
+ '("GCancellable*" "cancellable")
+ '("GAsyncReadyCallback" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method query_filesystem_info_finish
+ (of-object "GFile")
+ (c-name "g_file_query_filesystem_info_finish")
+ (return-type "GFileInfo*")
+ (parameters
+ '("GAsyncResult*" "res")
+ '("GError**" "error")
+ )
+)
+
(define-method find_enclosing_mount
(of-object "GFile")
(c-name "g_file_find_enclosing_mount")
@@ -5142,18 +5165,6 @@
;; wrapped in gvolume.override
;;
(define-method mount
- (docstring
-"V.mount(mount_operation, callback, [flags, cancellable, user_data])\n"
-"Mounts a volume. Using mount_operation, you can request callbacks\n"
-"when, for instance, passwords are needed during authentication.\n"
-"\n"
-"If cancellable is not None, then the operation can be cancelled by\n"
-" triggering the cancellable object from another thread. If the\n"
-"operation was cancelled, the error gio.ERROR_CANCELLED will be returned.\n"
-"\n"
-"When the operation is finished, callback will be called. You can then\n"
-"call gio.Volume.mount_finish() to get the result of the operation.\n")
-
(of-object "GVolume")
(c-name "g_volume_mount")
(return-type "none")