Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sjhbuild/modulesets/patches/pygobject-pylint.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sjhbuild/modulesets/patches/pygobject-pylint.patch')
-rw-r--r--sjhbuild/modulesets/patches/pygobject-pylint.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sjhbuild/modulesets/patches/pygobject-pylint.patch b/sjhbuild/modulesets/patches/pygobject-pylint.patch
new file mode 100644
index 0000000..8e4ff97
--- /dev/null
+++ b/sjhbuild/modulesets/patches/pygobject-pylint.patch
@@ -0,0 +1,16 @@
+Index: gobject/gobjectmodule.c
+===================================================================
+--- gobject/gobjectmodule.c (revision 776)
++++ gobject/gobjectmodule.c (working copy)
+@@ -3611,7 +3611,10 @@
+ return;
+ descr = PyObject_New(PyObject, &PyGPropsDescr_Type);
+ PyDict_SetItemString(PyGObject_Type.tp_dict, "props", descr);
+-
++ PyDict_SetItemString(PyGObject_Type.tp_dict, "__module__",
++ o=PyString_FromString("gobject._gobject"));
++ Py_DECREF(o);
++
+ REGISTER_GTYPE(d, PyGInterface_Type, "GInterface", G_TYPE_INTERFACE);
+ PyDict_SetItemString(PyGInterface_Type.tp_dict, "__doc__",
+ pyg_object_descr_doc_get());