summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--liblogdiag/liblogdiag.h5
-rw-r--r--src/ld-window-main.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/liblogdiag/liblogdiag.h b/liblogdiag/liblogdiag.h
index 71f3044..797dd4a 100644
--- a/liblogdiag/liblogdiag.h
+++ b/liblogdiag/liblogdiag.h
@@ -11,6 +11,11 @@
#ifndef __LIBLOGDIAG_H__
#define __LIBLOGDIAG_H__
+/* Whatever, I don't care, someone should at least appreciate my effort of
+ * porting it to GTK+ 3 in the first place. You make me work for free!
+ */
+#define GDK_VERSION_MIN_REQUIRED GDK_VERSION_3_8
+
#include <gtk/gtk.h>
#include <json-glib/json-glib.h>
diff --git a/src/ld-window-main.c b/src/ld-window-main.c
index 94cb1c7..b0e5858 100644
--- a/src/ld-window-main.c
+++ b/src/ld-window-main.c
@@ -8,8 +8,6 @@
*
*/
-#include <gtk/gtk.h>
-
#include <liblogdiag/liblogdiag.h>
#include "config.h"