186 lines
3.5 KiB
Diff
186 lines
3.5 KiB
Diff
--- plug-ins/python/pydia-color.c
|
|
+++ plug-ins/python/pydia-color.c
|
|
@@ -43,7 +43,7 @@
|
|
static void
|
|
PyDiaColor_Dealloc(PyObject *self)
|
|
{
|
|
- PyMem_DEL(self);
|
|
+ PyObject_DEL(self);
|
|
}
|
|
|
|
/*
|
|
--- plug-ins/python/pydia-cpoint.c
|
|
+++ plug-ins/python/pydia-cpoint.c
|
|
@@ -38,7 +38,7 @@
|
|
static void
|
|
PyDiaConnectionPoint_Dealloc(PyDiaConnectionPoint *self)
|
|
{
|
|
- PyMem_DEL(self);
|
|
+ PyObject_DEL(self);
|
|
}
|
|
|
|
static int
|
|
--- plug-ins/python/pydia-diagram.c
|
|
+++ plug-ins/python/pydia-diagram.c
|
|
@@ -50,7 +50,7 @@
|
|
PyDiaDiagram_Dealloc(PyDiaDiagram *self)
|
|
{
|
|
g_object_unref(self->dia);
|
|
- PyMem_DEL(self);
|
|
+ PyObject_DEL(self);
|
|
}
|
|
|
|
static int
|
|
--- plug-ins/python/pydia-diagramdata.c
|
|
+++ plug-ins/python/pydia-diagramdata.c
|
|
@@ -46,7 +46,7 @@
|
|
PyDiaDiagramData_Dealloc(PyDiaDiagramData *self)
|
|
{
|
|
g_object_unref (self->data);
|
|
- PyMem_DEL(self);
|
|
+ PyObject_DEL(self);
|
|
}
|
|
|
|
static int
|
|
--- plug-ins/python/pydia-display.c
|
|
+++ plug-ins/python/pydia-display.c
|
|
@@ -38,7 +38,7 @@
|
|
static void
|
|
PyDiaDisplay_Dealloc(PyDiaDisplay *self)
|
|
{
|
|
- PyMem_DEL(self);
|
|
+ PyObject_DEL(self);
|
|
}
|
|
|
|
static int
|
|
--- plug-ins/python/pydia-error.c
|
|
+++ plug-ins/python/pydia-error.c
|
|
@@ -84,7 +84,7 @@
|
|
{
|
|
if (self->str)
|
|
g_string_free (self->str, TRUE);
|
|
- PyMem_DEL(self);
|
|
+ PyObject_DEL(self);
|
|
}
|
|
|
|
/*
|
|
--- plug-ins/python/pydia-export.c
|
|
+++ plug-ins/python/pydia-export.c
|
|
@@ -37,7 +37,7 @@
|
|
static void
|
|
PyDiaExportFilter_Dealloc(PyDiaExportFilter *self)
|
|
{
|
|
- PyMem_DEL(self);
|
|
+ PyObject_DEL(self);
|
|
}
|
|
|
|
static int
|
|
--- plug-ins/python/pydia-font.c
|
|
+++ plug-ins/python/pydia-font.c
|
|
@@ -48,7 +48,7 @@
|
|
{
|
|
if (self->font)
|
|
dia_font_unref (self->font);
|
|
- PyMem_DEL(self);
|
|
+ PyObject_DEL(self);
|
|
}
|
|
|
|
/*
|
|
--- plug-ins/python/pydia-geometry.c
|
|
+++ plug-ins/python/pydia-geometry.c
|
|
@@ -135,7 +135,7 @@
|
|
static void
|
|
PyDiaGeometry_Dealloc(void *self)
|
|
{
|
|
- PyMem_DEL(self);
|
|
+ PyObject_DEL(self);
|
|
}
|
|
|
|
/*
|
|
--- plug-ins/python/pydia-handle.c
|
|
+++ plug-ins/python/pydia-handle.c
|
|
@@ -40,7 +40,7 @@
|
|
static void
|
|
PyDiaHandle_Dealloc(PyDiaHandle *self)
|
|
{
|
|
- PyMem_DEL(self);
|
|
+ PyObject_DEL(self);
|
|
}
|
|
|
|
static int
|
|
--- plug-ins/python/pydia-image.c
|
|
+++ plug-ins/python/pydia-image.c
|
|
@@ -45,7 +45,7 @@
|
|
PyDiaImage_Dealloc(PyDiaImage *self)
|
|
{
|
|
dia_image_release (self->image);
|
|
- PyMem_DEL(self);
|
|
+ PyObject_DEL(self);
|
|
}
|
|
|
|
/*
|
|
--- plug-ins/python/pydia-layer.c
|
|
+++ plug-ins/python/pydia-layer.c
|
|
@@ -38,7 +38,7 @@
|
|
static void
|
|
PyDiaLayer_Dealloc(PyDiaLayer *self)
|
|
{
|
|
- PyMem_DEL(self);
|
|
+ PyObject_DEL(self);
|
|
}
|
|
|
|
static int
|
|
--- plug-ins/python/pydia-object.c
|
|
+++ plug-ins/python/pydia-object.c
|
|
@@ -40,7 +40,7 @@
|
|
static void
|
|
PyDiaObject_Dealloc(PyDiaObject *self)
|
|
{
|
|
- PyMem_DEL(self);
|
|
+ PyObject_DEL(self);
|
|
}
|
|
|
|
static int
|
|
@@ -250,7 +250,7 @@
|
|
static void
|
|
PyDiaObjectType_Dealloc(PyDiaObjectType *self)
|
|
{
|
|
- PyMem_DEL(self);
|
|
+ PyObject_DEL(self);
|
|
}
|
|
|
|
static int
|
|
--- plug-ins/python/pydia-properties.c
|
|
+++ plug-ins/python/pydia-properties.c
|
|
@@ -46,7 +46,7 @@
|
|
PyDiaProperties_Dealloc(PyDiaObject *self)
|
|
{
|
|
self->object = NULL; /* XXX: should dec ref */
|
|
- PyMem_DEL(self);
|
|
+ PyObject_DEL(self);
|
|
}
|
|
|
|
/*
|
|
--- plug-ins/python/pydia-property.c
|
|
+++ plug-ins/python/pydia-property.c
|
|
@@ -60,7 +60,7 @@
|
|
PyDiaProperty_Dealloc(PyDiaProperty *self)
|
|
{
|
|
self->property->ops->free(self->property);
|
|
- PyMem_DEL(self);
|
|
+ PyObject_DEL(self);
|
|
}
|
|
|
|
/*
|
|
--- plug-ins/python/pydia-text.c
|
|
+++ plug-ins/python/pydia-text.c
|
|
@@ -49,7 +49,7 @@
|
|
PyDiaText_Dealloc(PyDiaText *self)
|
|
{
|
|
g_free (self->text_data);
|
|
- PyMem_DEL(self);
|
|
+ PyObject_DEL(self);
|
|
}
|
|
|
|
/*
|