From 2cce297b58ae50486094a6dcc148484a4a4bace5 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Mon, 8 Oct 2012 15:10:44 +0200 Subject: [PATCH] configure: bump gtk version from 2.10 to 2.18 (sep 2009) GTK_WIDGET_TOPLEVEL was deprecated in 2.20 and no longer available in gtk 3. gtk_widget_is_toplevel() was introduced as a replacement in gtk 2.18 => make that the minimum requirement. Change-Id: Ie5d2d8bd824af916a9764c66a7046f07a77b1748 Reviewed-by: Jens Bache-Wiig --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index a80bcdb586..2bca459628 100755 --- a/configure +++ b/configure @@ -4476,7 +4476,7 @@ fi # auto-detect GTK style support if [ "$CFG_GLIB" = "yes" -a "$CFG_QGTKSTYLE" != "no" ]; then if [ -n "$PKG_CONFIG" ]; then - QT_CFLAGS_QGTKSTYLE=`$PKG_CONFIG --cflags gtk+-2.0 ">=" 2.10 atk 2>/dev/null` + QT_CFLAGS_QGTKSTYLE=`$PKG_CONFIG --cflags gtk+-2.0 ">=" 2.18 atk 2>/dev/null` QT_LIBS_QGTKSTYLE=`$PKG_CONFIG --libs gobject-2.0 2>/dev/null` fi if [ -n "$QT_CFLAGS_QGTKSTYLE" ] ; then