gobject-introspection r1065 - trunk/giscanner
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r1065 - trunk/giscanner
- Date: Thu, 22 Jan 2009 16:17:42 +0000 (UTC)
Author: walters
Date: Thu Jan 22 16:17:42 2009
New Revision: 1065
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=1065&view=rev
Log:
Skip over both g_object_get_type and g_initially_unowned_get_type
g_object_get_type hasn't always been in GObject, we handle it internally
elsewhere.
Modified:
trunk/giscanner/glibtransformer.py
Modified: trunk/giscanner/glibtransformer.py
==============================================================================
--- trunk/giscanner/glibtransformer.py (original)
+++ trunk/giscanner/glibtransformer.py Thu Jan 22 16:17:42 2009
@@ -325,6 +325,10 @@
if self._namespace_name == 'GLib':
# No GObjects in GLib
return False
+ if (self._namespace_name == 'GObject' and
+ symbol in ('g_object_get_type', 'g_initially_unowned_get_type')):
+ # We handle these internally, see _create_gobject
+ return True
if func.parameters:
return False
# GType *_get_type(void)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]