summaryrefslogtreecommitdiff
path: root/src/glibext/configuration.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glibext/configuration.h')
-rw-r--r--src/glibext/configuration.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/src/glibext/configuration.h b/src/glibext/configuration.h
index aac6dc7..05dbc65 100644
--- a/src/glibext/configuration.h
+++ b/src/glibext/configuration.h
@@ -27,7 +27,28 @@
#include <glib-object.h>
#include <stdbool.h>
-#include <gdk/gdk.h>
+#ifdef INCLUDE_GTK_SUPPORT
+# include <gdk/gdk.h>
+#endif
+
+
+#if !defined(INCLUDE_GTK_SUPPORT) && !defined(HOMEMADE_RGBA)
+
+# define HOMEMADE_RGBA
+
+/**
+ * Copie depuis /usr/include/gtk-3.0/gdk/gdkrgba.h
+ */
+typedef struct _GdkRGBA
+{
+ gdouble red;
+ gdouble green;
+ gdouble blue;
+ gdouble alpha;
+
+} GdkRGBA;
+
+#endif