Use util_clip_triangle() in pan_item_tri_new()
[geeqie.git] / src / color-man.h
index 1c2dad7..55ff086 100644 (file)
 #ifndef COLOR_MAN_H
 #define COLOR_MAN_H
 
+#include <gdk-pixbuf/gdk-pixbuf.h>
+#include <glib.h>
+
+struct FileData;
+struct ImageWindow;
+
 enum ColorManProfileType {
        COLOR_PROFILE_NONE = -1,
        COLOR_PROFILE_MEM = -2,
@@ -36,9 +42,6 @@ enum ColorManReturnType {
        COLOR_RETURN_IMAGE_CHANGED
 };
 
-struct ColorMan;
-using ColorManDoneFunc = void (*)(ColorMan *, ColorManReturnType, gpointer);
-
 
 struct ColorMan {
        ImageWindow *imd;
@@ -50,7 +53,8 @@ struct ColorMan {
 
        guint idle_id; /* event source id */
 
-       ColorManDoneFunc func_done;
+       using DoneFunc = void (*)(ColorMan *, ColorManReturnType, gpointer);
+       DoneFunc func_done;
        gpointer func_done_data;
 };