From: Jon A. Cruz Date: Fri, 15 Jan 2010 08:21:50 +0000 (-0800) Subject: Fix for compile on windows. Fixes bug #506845. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=81ad7789d532e8a607dd5992fac450d89c1e35c1;p=inkscape.git Fix for compile on windows. Fixes bug #506845. --- 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 }