[gobject-introspection] Improve documentation for g_registered_type_info_get_g_type
- From: Johan Dahlin <johan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Improve documentation for g_registered_type_info_get_g_type
- Date: Wed, 6 Oct 2010 17:27:57 +0000 (UTC)
commit 7dc431f1bf4c0a5912f10240f4908c7b77d04316
Author: Johan Dahlin <johan gnome org>
Date: Wed Oct 6 12:51:44 2010 -0300
Improve documentation for g_registered_type_info_get_g_type
girepository/giregisteredtypeinfo.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/girepository/giregisteredtypeinfo.c b/girepository/giregisteredtypeinfo.c
index cc43d28..ca06b9f 100644
--- a/girepository/giregisteredtypeinfo.c
+++ b/girepository/giregisteredtypeinfo.c
@@ -114,7 +114,10 @@ g_registered_type_info_get_type_init (GIRegisteredTypeInfo *info)
* g_registered_type_info_get_g_type:
* @info: a #GIRegisteredTypeInfo
*
- * Obtain the #GType for this registered type.
+ * Obtain the #GType for this registered type or G_TYPE_NONE which a special meaning.
+ * It means that either there is no type information associated with this @info or
+ * that the shared library which provides the type_init function for this
+ * @info cannot be called.
*
* Returns: the #GType.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]