[gimp/gimp-2-10] app: reorganize #includes in gimpbrush-{mipmap, transform}.cc
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] app: reorganize #includes in gimpbrush-{mipmap, transform}.cc
- Date: Wed, 12 Feb 2020 22:14:58 +0000 (UTC)
commit fbc91f1556d357caa50db8255e1060e9c33c1cd5
Author: Ell <ell_se yahoo com>
Date: Thu Feb 13 00:14:01 2020 +0200
app: reorganize #includes in gimpbrush-{mipmap,transform}.cc
(cherry picked from commit f797f688ad8d3b4553090b5247d1bd7baddb4c5f)
app/core/gimpbrush-mipmap.cc | 6 ++----
app/core/gimpbrush-transform.cc | 4 ++--
2 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/app/core/gimpbrush-mipmap.cc b/app/core/gimpbrush-mipmap.cc
index bf2e0f4274..944df4ff16 100644
--- a/app/core/gimpbrush-mipmap.cc
+++ b/app/core/gimpbrush-mipmap.cc
@@ -25,15 +25,13 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gegl.h>
+#include "libgimpmath/gimpmath.h"
+
extern "C"
{
-#include "libgimpmath/gimpmath.h"
-
#include "core-types.h"
-#include "gegl/gimp-gegl-loops.h"
-
#include "gimpbrush.h"
#include "gimpbrush-mipmap.h"
#include "gimpbrush-private.h"
diff --git a/app/core/gimpbrush-transform.cc b/app/core/gimpbrush-transform.cc
index 4b4f4ce01c..45673cd4f2 100644
--- a/app/core/gimpbrush-transform.cc
+++ b/app/core/gimpbrush-transform.cc
@@ -24,11 +24,11 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gegl.h>
+#include "libgimpmath/gimpmath.h"
+
extern "C"
{
-#include "libgimpmath/gimpmath.h"
-
#include "core-types.h"
#include "gegl/gimp-gegl-loops.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]