From 0b24122688d7d6c3d3031dd58d02c5a217bdd87a Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Mon, 27 Nov 2006 21:29:41 +0000 Subject: [PATCH] [ 1603704 ] Fix g++ -Wall warning in gtk/src/toplevel.cpp (when compiling against GTK+ 2.10). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/toplevel.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gtk/toplevel.cpp b/src/gtk/toplevel.cpp index 173c833308..fc5605303f 100644 --- a/src/gtk/toplevel.cpp +++ b/src/gtk/toplevel.cpp @@ -1384,8 +1384,7 @@ bool wxTopLevelWindowGTK::CanSetTransparent() #if GTK_CHECK_VERSION(2,10,0) if (!gtk_check_version(2,10,0)) { - if (gtk_widget_is_composited (m_widget)) - return true; + return (gtk_widget_is_composited (m_widget)); } else #endif // In case of lower versions than gtk+-2.10.0 we could look for _NET_WM_CM_Sn ourselves -- 2.45.2