summaryrefslogtreecommitdiff
path: root/katze/gtk3-compat.h
diff options
context:
space:
mode:
authorChristian Dywan <christian@twotoasts.de>2012-02-26 00:03:14 +0100
committerChristian Dywan <christian@twotoasts.de>2012-02-26 00:03:14 +0100
commit760513a32a02dd15410a3b824f28577fa8ca3268 (patch)
treefe596f139fece109a7858844687ee46f7b83cfe6 /katze/gtk3-compat.h
parent6109cc3fc7c39f3e5831ba034d538d7ccc3e10dd (diff)
downloadmidori-760513a32a02dd15410a3b824f28577fa8ca3268.tar.gz
Consider GTK_DISABLE_DEPRECATED in gtk3-compat.h
Diffstat (limited to 'katze/gtk3-compat.h')
-rw-r--r--katze/gtk3-compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/katze/gtk3-compat.h b/katze/gtk3-compat.h
index 70bc5c3f..71a1ef19 100644
--- a/katze/gtk3-compat.h
+++ b/katze/gtk3-compat.h
@@ -6,7 +6,7 @@
G_BEGIN_DECLS
-#if GTK_CHECK_VERSION (3, 2, 0)
+#if GTK_CHECK_VERSION (3, 2, 0) && defined (GTK_DISABLE_DEPRECATED)
#define GTK_TYPE_VBOX GTK_TYPE_BOX
#define GtkVBox GtkBox
#define GtkVBoxClass GtkBoxClass