Commit 1be0c824 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

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.
parent 85c36fcd
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>
* 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.
......
......@@ -59,10 +59,7 @@ display_new_invoker (Gimp *gimp,
if (success)
{
if (! gimp_image_is_empty (gimage))
success = (gdisp = gdisplay_new (gimage, scale)) != NULL;
else
success = FALSE;
success = (gdisp = gdisplay_new (gimage, scale)) != NULL;
}
return_args = procedural_db_return_args (&display_new_proc, success);
......
......@@ -43,10 +43,7 @@ HELP
vars => [ 'guint scale = 0x101' ],
code => <<'CODE'
{
if (! gimp_image_is_empty (gimage))
success = (gdisp = gdisplay_new (gimage, scale)) != NULL;
else
success = FALSE;
success = (gdisp = gdisplay_new (gimage, scale)) != NULL;
}
CODE
);
......
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