Bug 557011 - Add g_object_info_get_abstract

svn path=/trunk/; revision=757
This commit is contained in:
Colin Walters
2008-10-20 17:04:17 +00:00
parent 0de03983be
commit c3330c06c7
6 changed files with 21 additions and 5 deletions

View File

@@ -1123,6 +1123,14 @@ g_object_info_get_parent (GIObjectInfo *info)
return NULL;
}
gboolean
g_object_info_get_abstract (GIObjectInfo *info)
{
GIBaseInfo *base = (GIBaseInfo *)info;
ObjectBlob *blob = (ObjectBlob *)&base->typelib->data[base->offset];
return blob->abstract != 0;
}
const gchar *
g_object_info_get_type_name (GIObjectInfo *info)
{