always apply the selected delay.

2005-05-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: always apply the selected delay.
This commit is contained in:
Sven Neumann 2005-05-23 09:53:18 +00:00 committed by Sven Neumann
parent ed19b5aabe
commit b08d42c66d
2 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,8 @@
2005-05-23 Sven Neumann <neumann@jpk.com>
2005-05-23 Sven Neumann <sven@gimp.org>
* plug-ins/common/screenshot.c: always apply the selected delay.
2005-05-23 Sven Neumann <sven@gimp.org>
* app/widgets/gimpcellrendererdashes.[ch]: we don't actually need to
keep a pointer to the dashes array.

View file

@ -324,8 +324,7 @@ run (const gchar *name,
if (status == GIMP_PDB_SUCCESS)
{
if ( (shootvals.shoot_type == SHOOT_ROOT || shootvals.shoot_type == SHOOT_WINDOW)
&& shootvals.select_delay > 0)
if (shootvals.select_delay > 0)
shoot_delay (shootvals.select_delay);
image_ID = shoot (screen);
@ -883,9 +882,6 @@ shoot_dialog (GdkScreen **screen)
if (shootvals.shoot_type != SHOOT_ROOT && ! shootvals.window_id)
{
/* if (shootvals.select_delay > 0) */
/* shoot_delay (shootvals.select_delay); */
shootvals.window_id = select_window (*screen);
}
}