From 416898ecfaf10d34758947b4005cbae7f90e3991 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 2 Dec 2013 07:56:16 +0100 Subject: [PATCH] Remove kwinglobals.h include where not needed any more Most headers only included kwinglobals.h just for the KWIN_EXPORT macro. As that's not used any more, we don't need that include any more. --- libkwineffects/kwinglcolorcorrection.h | 1 - libkwineffects/kwinglplatform.cpp | 2 -- libkwineffects/kwinglplatform.h | 1 - libkwineffects/kwingltexture.h | 1 - libkwineffects/kwingltexture_p.h | 1 - libkwineffects/kwinglutils.cpp | 1 - libkwineffects/kwinxrenderutils.cpp | 1 - 7 files changed, 8 deletions(-) diff --git a/libkwineffects/kwinglcolorcorrection.h b/libkwineffects/kwinglcolorcorrection.h index 26d1346041..9888834d50 100644 --- a/libkwineffects/kwinglcolorcorrection.h +++ b/libkwineffects/kwinglcolorcorrection.h @@ -21,7 +21,6 @@ along with this program. If not, see . #ifndef KWIN_COLOR_CORRECTION_H #define KWIN_COLOR_CORRECTION_H -#include "kwinglobals.h" #include #include diff --git a/libkwineffects/kwinglplatform.cpp b/libkwineffects/kwinglplatform.cpp index ba9600fcd1..53049355a3 100644 --- a/libkwineffects/kwinglplatform.cpp +++ b/libkwineffects/kwinglplatform.cpp @@ -21,8 +21,6 @@ along with this program. If not, see . #include "kwinglplatform.h" #include "kwinglutils.h" -#include - #include #include #include diff --git a/libkwineffects/kwinglplatform.h b/libkwineffects/kwinglplatform.h index c9c7282eb8..830bf7fb28 100644 --- a/libkwineffects/kwinglplatform.h +++ b/libkwineffects/kwinglplatform.h @@ -21,7 +21,6 @@ along with this program. If not, see . #ifndef KWIN_GLPLATFORM_H #define KWIN_GLPLATFORM_H -#include #include #include diff --git a/libkwineffects/kwingltexture.h b/libkwineffects/kwingltexture.h index dba174c05a..e3d0cecf2d 100644 --- a/libkwineffects/kwingltexture.h +++ b/libkwineffects/kwingltexture.h @@ -22,7 +22,6 @@ along with this program. If not, see . #ifndef KWIN_GLTEXTURE_H #define KWIN_GLTEXTURE_H -#include "kwinglobals.h" #include #include diff --git a/libkwineffects/kwingltexture_p.h b/libkwineffects/kwingltexture_p.h index da95dd72a1..e5e34a9e76 100644 --- a/libkwineffects/kwingltexture_p.h +++ b/libkwineffects/kwingltexture_p.h @@ -25,7 +25,6 @@ along with this program. If not, see . #include "kwinconfig.h" // KWIN_HAVE_OPENGL #include -#include "kwinglobals.h" #include #include diff --git a/libkwineffects/kwinglutils.cpp b/libkwineffects/kwinglutils.cpp index 40ce07db91..3c89128274 100644 --- a/libkwineffects/kwinglutils.cpp +++ b/libkwineffects/kwinglutils.cpp @@ -25,7 +25,6 @@ along with this program. If not, see . #include "kwingltexture_p.h" #include "kwinglcolorcorrection.h" -#include "kwinglobals.h" #include "kwineffects.h" #include "kwinglplatform.h" diff --git a/libkwineffects/kwinxrenderutils.cpp b/libkwineffects/kwinxrenderutils.cpp index c8ecf3922b..9c741b1a20 100644 --- a/libkwineffects/kwinxrenderutils.cpp +++ b/libkwineffects/kwinxrenderutils.cpp @@ -19,7 +19,6 @@ along with this program. If not, see . *********************************************************************/ #include "kwinxrenderutils.h" -#include "kwinglobals.h" #include #include