gobject-introspection r484 - in trunk: . giscanner
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r484 - in trunk: . giscanner
- Date: Sun, 24 Aug 2008 21:29:10 +0000 (UTC)
Author: walters
Date: Sun Aug 24 21:29:09 2008
New Revision: 484
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=484&view=rev
Log:
2008-08-24 Colin Walters <walters verbum org>
* giscanner/glibtransformer.py: Skip over
g_object_get_type from GLib trunk.
Modified:
trunk/ChangeLog
trunk/giscanner/glibtransformer.py
Modified: trunk/giscanner/glibtransformer.py
==============================================================================
--- trunk/giscanner/glibtransformer.py (original)
+++ trunk/giscanner/glibtransformer.py Sun Aug 24 21:29:09 2008
@@ -422,6 +422,11 @@
def _introspect_object(self, type_id, symbol):
type_name = cgobject.type_name(type_id)
+ # We handle this specially above; in 2.16 and below there
+ # was no g_object_get_type, for later versions we need
+ # to skip it
+ if type_name == 'GObject':
+ return
parent_type_name = cgobject.type_name(cgobject.type_parent(type_id))
parent_gitype = self._resolve_gtypename(parent_type_name)
node = GLibObject(
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]