gimp r26785 - in trunk: . plug-ins/pygimp
- From: larsc svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26785 - in trunk: . plug-ins/pygimp
- Date: Tue, 26 Aug 2008 22:06:00 +0000 (UTC)
Author: larsc
Date: Tue Aug 26 22:06:00 2008
New Revision: 26785
URL: http://svn.gnome.org/viewvc/gimp?rev=26785&view=rev
Log:
2008-08-26 Lars-Peter Clausen <lars metafoo de>
* plug-ins/pygimp/gimpmodule.c:
Don't set tp_new for PyGimpTile_Type and PyGimpPixelRgn_Type as both
don't have init functions.
Modified:
trunk/ChangeLog
trunk/plug-ins/pygimp/gimpmodule.c
Modified: trunk/plug-ins/pygimp/gimpmodule.c
==============================================================================
--- trunk/plug-ins/pygimp/gimpmodule.c (original)
+++ trunk/plug-ins/pygimp/gimpmodule.c Tue Aug 26 22:06:00 2008
@@ -1811,7 +1811,6 @@
return;
PyGimpDisplay_Type.ob_type = &PyType_Type;
- PyGimpDisplay_Type.ob_type = &PyType_Type;
PyGimpDisplay_Type.tp_alloc = PyType_GenericAlloc;
PyGimpDisplay_Type.tp_new = PyType_GenericNew;
if (PyType_Ready(&PyGimpDisplay_Type) < 0)
@@ -1831,13 +1830,11 @@
PyGimpTile_Type.ob_type = &PyType_Type;
PyGimpTile_Type.tp_alloc = PyType_GenericAlloc;
- PyGimpTile_Type.tp_new = PyType_GenericNew;
if (PyType_Ready(&PyGimpTile_Type) < 0)
return;
PyGimpPixelRgn_Type.ob_type = &PyType_Type;
PyGimpPixelRgn_Type.tp_alloc = PyType_GenericAlloc;
- PyGimpPixelRgn_Type.tp_new = PyType_GenericNew;
if (PyType_Ready(&PyGimpPixelRgn_Type) < 0)
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]