From 81ad7789d532e8a607dd5992fac450d89c1e35c1 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Fri, 15 Jan 2010 00:21:50 -0800 Subject: [PATCH] Fix for compile on windows. Fixes bug #506845. --- src/ui/uxmanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/uxmanager.cpp b/src/ui/uxmanager.cpp index d5fa90406..7c080d3b8 100644 --- a/src/ui/uxmanager.cpp +++ b/src/ui/uxmanager.cpp @@ -61,7 +61,7 @@ UXManager::UXManager() : tags.addTag(ege::Tag("General")); tags.addTag(ege::Tag("Icons")); -#ifdef GDK_WINDOWING_X11 +#if defined(GDK_WINDOWING_X11) char const* wmName = gdk_x11_screen_get_window_manager_name( gdk_screen_get_default() ); //g_message("Window manager is [%s]", wmName); @@ -69,7 +69,7 @@ UXManager::UXManager() : if (g_ascii_strcasecmp( wmName, KDE_WINDOW_MANAGER_NAME ) == 0) { floatwindowIssues = true; } -#elif GDK_WINDOWING_WIN32 +#elif defined(GDK_WINDOWING_WIN32) floatwindowIssues = true; #endif // GDK_WINDOWING_WIN32 } -- 2.30.2