File hippo-canvas-0.3.0-python26.patch of Package libhippocanvas-1-0
Index: hippo-canvas-0.3.0/python/canvas-box-child.c
===================================================================
--- hippo-canvas-0.3.0.orig/python/canvas-box-child.c
+++ hippo-canvas-0.3.0/python/canvas-box-child.c
@@ -158,7 +158,7 @@ PyTypeObject G_GNUC_INTERNAL PyHippoCanv
Py_TPFLAGS_HAVE_CLASS, /* tp_flags */
NULL, /* Documentation string */
(traverseproc)0, /* tp_traverse */
- (inquiry)0, /* tp_clear */
+ (lenfunc)0, /* tp_clear */
(richcmpfunc)0, /* tp_richcompare */
0, /* tp_weaklistoffset */
(getiterfunc)0, /* ;tp_iter */
@@ -175,7 +175,7 @@ PyTypeObject G_GNUC_INTERNAL PyHippoCanv
(allocfunc)0, /* tp_alloc */
(newfunc)0, /* tp_new */
(freefunc)0, /* tp_free */
- (inquiry)0 /* tp_is_gc */
+ (lenfunc)0 /* tp_is_gc */
};
static void