call gegl_exit() on shutdown.

2007-12-20  Sven Neumann  <sven@gimp.org>

	* app/app.c: call gegl_exit() on shutdown.

svn path=/trunk/; revision=24414
This commit is contained in:
Sven Neumann 2007-12-20 16:29:52 +00:00 committed by Sven Neumann
parent c023746759
commit 6942049f75
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2007-12-20 Sven Neumann <sven@gimp.org>
* app/app.c: call gegl_exit() on shutdown.
2007-12-20 Sven Neumann <sven@gimp.org>
* INSTALL

View File

@ -251,8 +251,10 @@ app_run (const gchar *full_prog_name,
g_main_loop_unref (loop);
g_object_unref (gimp);
errors_exit ();
base_exit ();
gegl_exit ();
}
@ -283,11 +285,16 @@ app_exit_after_callback (Gimp *gimp,
*/
#ifdef GIMP_UNSTABLE
g_main_loop_quit (loop);
#else
/* make sure that the swap file is removed before we quit */
/* make sure that the swap files are removed before we quit */
tile_swap_exit ();
gegl_exit ();
exit (EXIT_SUCCESS);
#endif
return FALSE;