gobject-introspection r418 - in trunk: . giscanner
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r418 - in trunk: . giscanner
- Date: Wed, 20 Aug 2008 15:57:22 +0000 (UTC)
Author: johan
Date: Wed Aug 20 15:57:22 2008
New Revision: 418
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=418&view=rev
Log:
2008-08-20 Johan Dahlin <johan gnome org>
* giscanner/glibtransformer.py (GLibTransformer._resolve_type_name):
Add a workaround for #548689.
We can now compile gtk!
Modified:
trunk/ChangeLog
trunk/giscanner/glibtransformer.py
Modified: trunk/giscanner/glibtransformer.py
==============================================================================
--- trunk/giscanner/glibtransformer.py (original)
+++ trunk/giscanner/glibtransformer.py Wed Aug 20 15:57:22 2008
@@ -448,6 +448,10 @@
# Resolver
def _resolve_type_name(self, type_name, ctype=None):
+ # Workaround glib bug #548689, to be included in 2.18.0
+ if type_name == "GParam":
+ type_name = "GObject.ParamSpec"
+
res = self._transformer.resolve_type_name_full
try:
return res(type_name, ctype, self._names)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]