Code

Fix for compile on windows. Fixes bug #506845.
authorJon A. Cruz <jon@joncruz.org>
Fri, 15 Jan 2010 08:21:50 +0000 (00:21 -0800)
committerJon A. Cruz <jon@joncruz.org>
Fri, 15 Jan 2010 08:21:50 +0000 (00:21 -0800)
src/ui/uxmanager.cpp

index d5fa90406fbb437c3cf9083e2a4ee9a1907be7b6..7c080d3b89a6497a348bcae4e69c3a8852f8d5f6 100644 (file)
@@ -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
 }