Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/config/modulesets/patches
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2008-05-25 10:33:05 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2008-05-25 10:33:05 (GMT)
commited2af8043b83bc8f04bf72217cc01a2984c08a92 (patch)
tree7f5a314cb3ba17f7e3d9f2736f92110d1a5dfd04 /config/modulesets/patches
parentcec67c2558a0e081af8e46f5c7c4a0fd6c990342 (diff)
Update to latest upstream pygobject
Diffstat (limited to 'config/modulesets/patches')
-rw-r--r--config/modulesets/patches/pygobject-gprop.patch30
-rw-r--r--config/modulesets/patches/pygobject-pylint.patch16
2 files changed, 0 insertions, 46 deletions
diff --git a/config/modulesets/patches/pygobject-gprop.patch b/config/modulesets/patches/pygobject-gprop.patch
deleted file mode 100644
index f357f77..0000000
--- a/config/modulesets/patches/pygobject-gprop.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- trunk/gobject/__init__.py 2007/08/27 15:59:00 699
-+++ trunk/gobject/__init__.py 2008/03/21 18:06:56 752
-@@ -57,15 +57,16 @@
-
- cls.__gproperties__ = gproperties
-
-- if (hasattr(cls, 'do_get_property') or
-- hasattr(cls, 'do_set_property')):
-+ if ('do_get_property' in cls.__dict__ or
-+ 'do_set_property' in cls.__dict__):
- for prop in props:
- if (prop.getter != prop._default_getter or
- prop.setter != prop._default_setter):
- raise TypeError(
- "GObject subclass %r defines do_get/set_property"
- " and it also uses a property which a custom setter"
-- " or getter. This is not allowed" % (cls,))
-+ " or getter. This is not allowed" % (
-+ cls.__name__,))
-
- def obj_get_property(self, pspec):
- name = pspec.name.replace('-', '_')
-@@ -92,7 +93,6 @@
- return
-
- type_register(cls, namespace.get('__gtype_name__'))
--
- _gobject._install_metaclass(GObjectMeta)
-
- del _gobject
diff --git a/config/modulesets/patches/pygobject-pylint.patch b/config/modulesets/patches/pygobject-pylint.patch
deleted file mode 100644
index 8e4ff97..0000000
--- a/config/modulesets/patches/pygobject-pylint.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-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());