summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-01-20 09:47:00 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2015-01-20 09:47:00 +0100
commitcd3599bd1bfe1b74ad26298e2c2875a9368dc817 (patch)
tree59d3d04c424c55d0df6b0df9e89f95afa43fecd7
parent1adeac6c22c3a96fc528c348dc6840080ededfe9 (diff)
downloadlogdiag-cd3599bd1bfe1b74ad26298e2c2875a9368dc817.tar.gz
logdiag-cd3599bd1bfe1b74ad26298e2c2875a9368dc817.tar.xz
logdiag-cd3599bd1bfe1b74ad26298e2c2875a9368dc817.zip
Silence other stupid deprecation warnings
-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"