Commit 6604398f authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

no need to include app_procs.h here.

2002-12-06  Sven Neumann  <sven@gimp.org>

	* app/paint/gimppaintcore.c: no need to include app_procs.h here.

	* app/display/gimpdisplay-foreach.c (gimp_displays_dirty)
	(gdisplays_check_valid): don't use the global the_gimp. Removed
	inclusion of app_procs.h.
parent b2c3f018
2002-12-06 Sven Neumann <sven@gimp.org>
* app/paint/gimppaintcore.c: no need to include app_procs.h here.
* app/display/gimpdisplay-foreach.c (gimp_displays_dirty)
(gdisplays_check_valid): don't use the global the_gimp. Removed
inclusion of app_procs.h.
2002-12-05 Michael Natterer <mitch@gimp.org>
 
Cleaned up the exit process:
......
......@@ -30,8 +30,6 @@
#include "gimpdisplay-foreach.h"
#include "gimpdisplayshell.h"
#include "app_procs.h"
gboolean
gimp_displays_dirty (Gimp *gimp)
......@@ -40,7 +38,7 @@ gimp_displays_dirty (Gimp *gimp)
g_return_val_if_fail (GIMP_IS_GIMP (gimp), FALSE);
for (list = GIMP_LIST (the_gimp->displays)->list;
for (list = GIMP_LIST (gimp->displays)->list;
list;
list = g_list_next (list))
{
......@@ -82,7 +80,9 @@ gdisplays_check_valid (GimpDisplay *gtest,
GimpDisplay *gdisp_found = NULL;
GList *list;
for (list = GIMP_LIST (the_gimp->displays)->list;
g_return_val_if_fail (GIMP_IS_IMAGE (gimage), NULL);
for (list = GIMP_LIST (gimage->gimp->displays)->list;
list;
list = g_list_next (list))
{
......
......@@ -49,7 +49,6 @@
#include "gimppaintcore-kernels.h"
#include "gimppaintoptions.h"
#include "app_procs.h"
#include "undo.h"
#include "libgimp/gimpintl.h"
......
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