From 36c964e0a6d1deaee624cd2a6a76ff5c73141865 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 30 Apr 2014 23:24:04 +0200 Subject: mate-dictionary: Add GTK3 support --- mate-dictionary/libgdict/Makefile.am | 1 - mate-dictionary/libgdict/gdict-defbox.c | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'mate-dictionary/libgdict') diff --git a/mate-dictionary/libgdict/Makefile.am b/mate-dictionary/libgdict/Makefile.am index 45806c0a..c159bd24 100644 --- a/mate-dictionary/libgdict/Makefile.am +++ b/mate-dictionary/libgdict/Makefile.am @@ -10,7 +10,6 @@ AM_CPPFLAGS = -DG_LOG_DOMAIN=\"Gdict\" \ -DGDICT_ENABLE_INTERNALS \ -DG_DISABLE_DEPRECATED \ -DGDK_DISABLE_DEPRECATED \ - -DGTK_DISABLE_DEPRECATED \ -DPANGO_DISABLE_DEPRECATED \ -DG_DISABLE_SINGLE_INCLUDES \ -DGTK_DISABLE_SINGLE_INCLUDES \ diff --git a/mate-dictionary/libgdict/gdict-defbox.c b/mate-dictionary/libgdict/gdict-defbox.c index eb375c5c..b5618ddc 100644 --- a/mate-dictionary/libgdict/gdict-defbox.c +++ b/mate-dictionary/libgdict/gdict-defbox.c @@ -38,8 +38,11 @@ #include #include -#include #include +#include +#if GTK_CHECK_VERSION (3, 0, 0) +#include +#endif #include #include "gdict-defbox.h" -- cgit v1.2.1