From 705768c388ff261f92b471e5fc0a3498520adb06 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Apr 01 2014 14:36:51 +0000 Subject: Fix some gobject introspection false positives (bz #1079643) --- diff --git a/0002-brain-py2gi-Fix-function-detection-on-newer-pygobjec.patch b/0002-brain-py2gi-Fix-function-detection-on-newer-pygobjec.patch new file mode 100644 index 0000000..219ca78 --- /dev/null +++ b/0002-brain-py2gi-Fix-function-detection-on-newer-pygobjec.patch @@ -0,0 +1,33 @@ +From 9cb1e4083eb4ab93b7d1a83d5753cf69e3712f42 Mon Sep 17 00:00:00 2001 +Message-Id: <9cb1e4083eb4ab93b7d1a83d5753cf69e3712f42.1395496594.git.crobinso@redhat.com> +From: Cole Robinson +Date: Sat, 22 Mar 2014 09:11:00 -0400 +Subject: [PATCH] brain: py2gi: Fix function detection on newer pygobject + +Fallback to assuming anything callable is a function, and everything else +is a constant. This covers some special constants that use module +defined classes, like Gdk.Atom +--- + brain/py2gi.py | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/brain/py2gi.py b/brain/py2gi.py +index b001625..bcaea4b 100644 +--- a/brain/py2gi.py ++++ b/brain/py2gi.py +@@ -53,6 +53,12 @@ def _gi_build_stub(parent): + str(obj).startswith(" - 1.0.1-3 +- Fix some gobject introspection false positives (bz #1079643) + * Fri Feb 28 2014 Brian C. Lane 1.0.1-2 - Add patch to fix gobject introspection of illegal symbol names (dshea)