From bf0c0c4b571364161098a73e8f6f134fcc1cde69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Sun, 21 Aug 2011 23:42:06 +0000 Subject: [PATCH] [GB.GTK] * BUG: Use gtk_window_set_resize_grip only with GTK+ >= 2.24.4. git-svn-id: svn://localhost/gambas/trunk@4029 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- gb.gtk/src/gmainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gb.gtk/src/gmainwindow.cpp b/gb.gtk/src/gmainwindow.cpp index 1c6d1f68e..b2f0a3836 100644 --- a/gb.gtk/src/gmainwindow.cpp +++ b/gb.gtk/src/gmainwindow.cpp @@ -484,7 +484,7 @@ void gMainWindow::setVisible(bool vl) gtk_window_set_transient_for(GTK_WINDOW(border), GTK_WINDOW(active->border)); } - #if (GTK_MAJOR_VERSION >= 2 && GTK_MINOR_VERSION >= 24) || (GTK_MAJOR_VERSION >= 3) + #if GTK_CHECK_VERSION(2,24,4) gtk_window_set_has_resize_grip(GTK_WINDOW(border), false); #endif