[gimp] libgimp: remove useless includes



commit e705ab050e86029a98417cba2000b81e1faaed57
Author: Michael Natterer <mitch gimp org>
Date:   Sat Aug 3 17:11:30 2019 +0200

    libgimp: remove useless includes

 libgimp/gimp.c         | 5 +++--
 libgimp/gimpgpcompat.c | 9 +--------
 2 files changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/libgimp/gimp.c b/libgimp/gimp.c
index 94c36cebb5..f52724a034 100644
--- a/libgimp/gimp.c
+++ b/libgimp/gimp.c
@@ -112,12 +112,13 @@
 
 #include <locale.h>
 
-#include "libgimpbase/gimpbase.h"
+#include "gimp.h"
+
 #include "libgimpbase/gimpbase-private.h"
 #include "libgimpbase/gimpprotocol.h"
 #include "libgimpbase/gimpwire.h"
 
-#include "gimp.h"
+
 #include "gimp-private.h"
 #include "gimpgpcompat.h"
 #include "gimpgpparams.h"
diff --git a/libgimp/gimpgpcompat.c b/libgimp/gimpgpcompat.c
index cd70c06ebb..199f692297 100644
--- a/libgimp/gimpgpcompat.c
+++ b/libgimp/gimpgpcompat.c
@@ -21,15 +21,8 @@
 
 #include "config.h"
 
-#include <cairo.h>
-#include <gegl.h>
-#include <gdk-pixbuf/gdk-pixbuf.h>
-
-#include "libgimpbase/gimpbase.h"
-#include "libgimpbase/gimpprotocol.h"
-#include "libgimpcolor/gimpcolor.h"
-
 #include "gimp.h"
+
 #include "gimpgpcompat.h"
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]