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:

committed by
Sven Neumann

parent
79c833c934
commit
ec2ce1d269
@ -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>
|
2003-03-01 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* app/widgets/gimppreviewrenderer.[ch]: added "gint bytes" to the
|
* app/widgets/gimppreviewrenderer.[ch]: added "gint bytes" to the
|
||||||
|
@ -298,7 +298,7 @@ image_find_next_guide_invoker (Gimp *gimp,
|
|||||||
|
|
||||||
if (success)
|
if (success)
|
||||||
{
|
{
|
||||||
success = FALSE;
|
success = (gimage->guides == NULL);
|
||||||
guide_found = FALSE;
|
guide_found = FALSE;
|
||||||
|
|
||||||
for (guides = gimage->guides; guides; guides = g_list_next (guides))
|
for (guides = gimage->guides; guides; guides = g_list_next (guides))
|
||||||
|
@ -143,7 +143,7 @@ HELP
|
|||||||
vars => [ 'GList *guides', 'gboolean guide_found' ],
|
vars => [ 'GList *guides', 'gboolean guide_found' ],
|
||||||
code => <<'CODE'
|
code => <<'CODE'
|
||||||
{
|
{
|
||||||
success = FALSE;
|
success = (gimage->guides == NULL);
|
||||||
guide_found = FALSE;
|
guide_found = FALSE;
|
||||||
|
|
||||||
for (guides = gimage->guides; guides; guides = g_list_next (guides))
|
for (guides = gimage->guides; guides; guides = g_list_next (guides))
|
||||||
|
Reference in New Issue
Block a user