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).
This commit is contained in:
Sven Neumann 2003-03-02 13:33:25 +00:00 committed by Sven Neumann
parent 79c833c934
commit ec2ce1d269
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
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

View File

@ -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))

View File

@ -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))