[gimp] libgimpwidgets: Fix the order of #includes
- From: Michael Henning <mhenning src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimpwidgets: Fix the order of #includes
- Date: Sat, 9 May 2015 02:55:29 +0000 (UTC)
commit af84148fed383bca575755400518b4edbd971099
Author: Michael Henning <drawoc darkrefraction com>
Date: Fri May 8 22:53:49 2015 -0400
libgimpwidgets: Fix the order of #includes
Otherwise, G_OS_WIN32 and GDK_WINDOWING_QUARTZ will never be
defined by the time we reach the #ifdefs.
libgimpwidgets/gimpwidgetsutils.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/libgimpwidgets/gimpwidgetsutils.c b/libgimpwidgets/gimpwidgetsutils.c
index 988cdbe..9228b74 100644
--- a/libgimpwidgets/gimpwidgetsutils.c
+++ b/libgimpwidgets/gimpwidgetsutils.c
@@ -21,6 +21,11 @@
#include "config.h"
+#include <lcms2.h>
+
+#include <gegl.h>
+#include <gtk/gtk.h>
+
#ifdef G_OS_WIN32
#include <windows.h>
#endif
@@ -31,11 +36,6 @@
#include <CoreServices/CoreServices.h>
#endif
-#include <lcms2.h>
-
-#include <gegl.h>
-#include <gtk/gtk.h>
-
#include "libgimpcolor/gimpcolor.h"
#include "libgimpconfig/gimpconfig.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]