set filter_idle_id to 0, not NULL.

2003-11-24  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_destroy):
	set filter_idle_id to 0, not NULL.
This commit is contained in:
Sven Neumann 2003-11-24 12:43:59 +00:00 committed by Sven Neumann
parent 964c83a82f
commit 5bfda5661f
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-11-24 Sven Neumann <sven@gimp.org>
* app/display/gimpdisplayshell.c (gimp_display_shell_destroy):
set filter_idle_id to 0, not NULL.
2003-11-24 Michael Natterer <mitch@gimp.org>
Fixed intra-session position management for file dialogs and newly

View File

@ -392,7 +392,7 @@ gimp_display_shell_destroy (GtkObject *object)
if (shell->filter_idle_id)
{
g_source_remove (shell->filter_idle_id);
shell->filter_idle_id = NULL;
shell->filter_idle_id = 0;
}
if (shell->render_buf)

View File

@ -392,7 +392,7 @@ gimp_display_shell_destroy (GtkObject *object)
if (shell->filter_idle_id)
{
g_source_remove (shell->filter_idle_id);
shell->filter_idle_id = NULL;
shell->filter_idle_id = 0;
}
if (shell->render_buf)