Commit df38e3d1 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

fixed loop control in _gimp_enums_init(). This caused all plug-ins to

2004-10-27  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/enumcode.pl: fixed loop control in
	_gimp_enums_init(). This caused all plug-ins to crash immidiately.
	You will need to make sure that libgimp/gimpenums.c.tail is
	recreated and appended to libgimp/gimpenums.c
parent ac823b18
2004-10-27 Sven Neumann <sven@gimp.org>
* tools/pdbgen/enumcode.pl: fixed loop control in
_gimp_enums_init(). This caused all plug-ins to crash immidiately.
You will need to make sure that libgimp/gimpenums.c.tail is
recreated and appended to libgimp/gimpenums.c
2004-10-27 Michael Natterer <mitch@gimp.org>
 
* app/core/gimp-transform-utils.[ch]. switch from x1,y1,x2,y2
......
......@@ -156,11 +156,12 @@ _gimp_enums_init (void)
{
GimpGetTypeFunc *funcs;
gint i;
GType type;
for (i = 0, funcs = get_type_funcs; *funcs; i++, funcs++)
for (i = 0, funcs = get_type_funcs;
i < G_N_ELEMENTS (get_type_funcs);
i++, funcs++)
{
type = (*funcs) ();
GType type = (*funcs) ();
g_type_class_ref (type);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment