mirror of https://github.com/GNOME/gimp.git
app/pdb/display_cmds.c removed unnecessary check for image being nonempty.
2001-07-14 Sven Neumann <sven@gimp.org> * app/pdb/display_cmds.c * tools/pdbgen/pdb/display.pdb (display_new_invoker): removed unnecessary check for image being nonempty.
This commit is contained in:
parent
85c36fcd7c
commit
1be0c824a3
|
@ -1,7 +1,13 @@
|
||||||
|
2001-07-14 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* app/pdb/display_cmds.c
|
||||||
|
* tools/pdbgen/pdb/display.pdb (display_new_invoker): removed
|
||||||
|
unnecessary check for image being nonempty.
|
||||||
|
|
||||||
2001-07-14 Fatih Demir <kabalak@gtranslator.org>
|
2001-07-14 Fatih Demir <kabalak@gtranslator.org>
|
||||||
|
|
||||||
* tips/Makefile.am|makefile.mingw: Added gimp_tips.tr.txt to the
|
* tips/Makefile.am|makefile.mingw: Added gimp_tips.tr.txt to the
|
||||||
targets and re-ordered the tips files listings.
|
targets and re-ordered the tips files listings.
|
||||||
|
|
||||||
* tips/gimp_tips.tr.txt: Added Turkish tips file from Alper Ersoy.
|
* tips/gimp_tips.tr.txt: Added Turkish tips file from Alper Ersoy.
|
||||||
|
|
||||||
|
|
|
@ -59,10 +59,7 @@ display_new_invoker (Gimp *gimp,
|
||||||
|
|
||||||
if (success)
|
if (success)
|
||||||
{
|
{
|
||||||
if (! gimp_image_is_empty (gimage))
|
success = (gdisp = gdisplay_new (gimage, scale)) != NULL;
|
||||||
success = (gdisp = gdisplay_new (gimage, scale)) != NULL;
|
|
||||||
else
|
|
||||||
success = FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return_args = procedural_db_return_args (&display_new_proc, success);
|
return_args = procedural_db_return_args (&display_new_proc, success);
|
||||||
|
|
|
@ -43,10 +43,7 @@ HELP
|
||||||
vars => [ 'guint scale = 0x101' ],
|
vars => [ 'guint scale = 0x101' ],
|
||||||
code => <<'CODE'
|
code => <<'CODE'
|
||||||
{
|
{
|
||||||
if (! gimp_image_is_empty (gimage))
|
success = (gdisp = gdisplay_new (gimage, scale)) != NULL;
|
||||||
success = (gdisp = gdisplay_new (gimage, scale)) != NULL;
|
|
||||||
else
|
|
||||||
success = FALSE;
|
|
||||||
}
|
}
|
||||||
CODE
|
CODE
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue