From 494f9820fb129050530b9cf9ab009a8264be1979 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 25 Jul 2011 06:40:01 +0000 Subject: Use gtk_widget_get_has_window() as a wrapper around GTK_WIDGET_NO_WINDOW() in pre-2.18 versions of GTK+. Treat calls to GTK_WIDGET_NO_WINDOW() as an error in checkAPIs.pl. svn path=/trunk/; revision=38197 --- tools/checkAPIs.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/checkAPIs.pl') diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl index 060c5efd24..bf137db618 100755 --- a/tools/checkAPIs.pl +++ b/tools/checkAPIs.pl @@ -924,7 +924,7 @@ my %deprecatedGtkFunctions = ( 'GTK_WIDGET_HAS_GRAB', 'E', # gtk_widget_get_has_grab() (avail since 2.18) 'GTK_WIDGET_IS_SENSITIVE', 'E', # gtk_widget_get_is_sensitive() (avail since 2.18) 'GTK_WIDGET_MAPPED', 'E', # gtk_widget_get_mapped() (avail since 2.18) - 'GTK_WIDGET_NO_WINDOW', 'W', # gtk_widget_get_no_window() (avail since 2.18) + 'GTK_WIDGET_NO_WINDOW', 'E', # gtk_widget_get_no_window() (avail since 2.18) 'GTK_WIDGET_PARENT_SENSITIVE', 'E', # gtk_widget_get_parent_sensitive() (avail since 2.18) 'GTK_WIDGET_RC_STYLE', 'E', # gtk_widget_get_rc_style() (avail since 2.18) 'GTK_WIDGET_REALIZED', 'E', # gtk_widget_get_realized() (avail since 2.18) -- cgit v1.2.3