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

tools/pdbgen/pdb/guides.pdb fixed gimp_image_find_next_guide() which was

2003-03-02  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/guides.pdb
	* app/pdb/guides_cmds.c: fixed gimp_image_find_next_guide() which
	was broken for the case when the image had no guides at all. Fixes
	the hanging rotate plug-in (bug #106823).
parent 79c833c9
2003-03-02 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/guides.pdb
* app/pdb/guides_cmds.c: fixed gimp_image_find_next_guide() which
was broken for the case when the image had no guides at all. Fixes
the hanging rotate plug-in (bug #106823).
2003-03-01 Michael Natterer <mitch@gimp.org>
 
* app/widgets/gimppreviewrenderer.[ch]: added "gint bytes" to the
......@@ -298,7 +298,7 @@ image_find_next_guide_invoker (Gimp *gimp,
if (success)
{
success = FALSE;
success = (gimage->guides == NULL);
guide_found = FALSE;
for (guides = gimage->guides; guides; guides = g_list_next (guides))
......
......@@ -143,7 +143,7 @@ HELP
vars => [ 'GList *guides', 'gboolean guide_found' ],
code => <<'CODE'
{
success = FALSE;
success = (gimage->guides == NULL);
guide_found = FALSE;
for (guides = gimage->guides; guides; guides = g_list_next (guides))
......
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