[glibmm] Gio::Mount::guess_content_type_finish(): Correct the documentation
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Gio::Mount::guess_content_type_finish(): Correct the documentation
- Date: Mon, 9 Dec 2013 17:36:28 +0000 (UTC)
commit acb1e888ba91914cda3406dff89d27662b8e4fdc
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Mon Dec 9 18:24:53 2013 +0100
Gio::Mount::guess_content_type_finish(): Correct the documentation
* gio/src/mount.hg: guess_content_type_finish(): Adapt the docs to C++
instead of copying directly from glib.
gio/src/mount.hg | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/gio/src/mount.hg b/gio/src/mount.hg
index bf2f83f..8f29973 100644
--- a/gio/src/mount.hg
+++ b/gio/src/mount.hg
@@ -210,7 +210,16 @@ public:
#m4 _CONVERSION(`gchar**',`Glib::StringArrayHandle',`Glib::StringArrayHandle($3, Glib::OWNERSHIP_DEEP)')
- //TODO: Correct the documentation:
+ /** Finishes guessing content types of the Mount.
+ * If any errors occurred during the operation, an exception will be thrown.
+ * In particular, you may get a Gio::Error::NOT_SUPPORTED if the mount
+ * does not support content guessing.
+ *
+ * @newin{2,18}
+ * @param result An AsyncResult.
+ * @return An array of content types.
+ * @throw Glib::Error
+ */
_WRAP_METHOD(Glib::StringArrayHandle guess_content_type_finish(const Glib::RefPtr<AsyncResult>& result),
g_mount_guess_content_type_finish, errthrow)
_WRAP_METHOD(bool is_shadowed() const, g_mount_is_shadowed)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]