Sort headers using clang-tidy
[geeqie.git] / src / color-man.cc
index 4efd984..dd94977 100644 (file)
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#include "main.h"
 #include "color-man.h"
 
-#include "filedata.h"
-#include "image.h"
-#include "ui-fileops.h"
-
-#include <vector>
+#include <config.h>
 
 #ifdef HAVE_LCMS
 /*** color support enabled ***/
 
+#include <vector>
+
 #ifdef HAVE_LCMS2
 #include <lcms2.h>
 #else
 #include <lcms.h>
 #endif
 
+#include "debug.h"
+#include "filedata.h"
+#include "image.h"
+#include "intl.h"
+#include "options.h"
+#include "ui-fileops.h"
 
 struct ColorManCache {
        cmsHPROFILE   profile_in;
@@ -309,7 +312,8 @@ void color_man_correct_region(ColorMan *cm, GdkPixbuf *pixbuf, gint x, gint y, g
        guchar *pix;
        gint rs;
        gint i;
-       gint pixbuf_width, pixbuf_height;
+       gint pixbuf_width;
+       gint pixbuf_height;
 
 
        pixbuf_width = gdk_pixbuf_get_width(pixbuf);
@@ -344,7 +348,8 @@ void color_man_correct_region(ColorMan *cm, GdkPixbuf *pixbuf, gint x, gint y, g
 static gboolean color_man_idle_cb_unused(gpointer data)
 {
        auto *cm = static_cast<ColorMan *>(data);
-       gint width, height;
+       gint width;
+       gint height;
        gint rh;
 
        if (!cm->pixbuf) return FALSE;