From 8e1eb52d63d2b8cd9a85badd5c8bdc52245d765c Mon Sep 17 00:00:00 2001 From: cxl Date: Wed, 9 Mar 2011 11:42:11 +0000 Subject: [PATCH] Bug #44 git-svn-id: svn://ultimatepp.org/upp/trunk@3273 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/CtrlLib/TrayIconX11.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/uppsrc/CtrlLib/TrayIconX11.cpp b/uppsrc/CtrlLib/TrayIconX11.cpp index 230548338..b57749e09 100644 --- a/uppsrc/CtrlLib/TrayIconX11.cpp +++ b/uppsrc/CtrlLib/TrayIconX11.cpp @@ -5,11 +5,13 @@ #ifdef PLATFORM_X11 #if !defined(flagNOGTK) - #include - #include - #ifdef NOTIFY_CHECK_VERSION - #define NOTIFY_VERSION_GT_0_7_0 - #endif + #include + #include + #ifdef NOTIFY_CHECK_VERSION + #if NOTIFY_CHECK_VERSION(0,7,0) + #define NOTIFY_VERSION_GT_0_7_0 + #endif + #endif #endif NAMESPACE_UPP