From d59f95c2d071f9ac2e29c29ebfc46bdc84823b5a Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Wed, 3 Oct 2007 20:18:56 +0000 Subject: [PATCH] Fix compile enable final svn path=/trunk/KDE/kdebase/workspace/; revision=720825 --- effects/configs_builtins.cpp | 3 ++- effects/desktopgrid_config.cpp | 4 ++-- effects/shadow_config.cpp | 2 ++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/effects/configs_builtins.cpp b/effects/configs_builtins.cpp index 11ee79219e..53113d60c4 100644 --- a/effects/configs_builtins.cpp +++ b/effects/configs_builtins.cpp @@ -15,8 +15,9 @@ License. See the file "COPYING" for the exact licensing terms. #include #include - +#ifndef KDE_USE_FINAL KWIN_EFFECT_CONFIG_FACTORY +#endif K_PLUGIN_FACTORY_DEFINITION(EffectFactory, registerPlugin("shadow"); registerPlugin("presentwindows"); registerPlugin("desktopgrid"); diff --git a/effects/desktopgrid_config.cpp b/effects/desktopgrid_config.cpp index 38d0332144..2123dc3bd8 100644 --- a/effects/desktopgrid_config.cpp +++ b/effects/desktopgrid_config.cpp @@ -21,9 +21,9 @@ License. See the file "COPYING" for the exact licensing terms. #include #include - +#ifndef KDE_USE_FINAL KWIN_EFFECT_CONFIG_FACTORY - +#endif namespace KWin { diff --git a/effects/shadow_config.cpp b/effects/shadow_config.cpp index 8bc3dd2dbf..a19a9bfe03 100644 --- a/effects/shadow_config.cpp +++ b/effects/shadow_config.cpp @@ -21,7 +21,9 @@ License. See the file "COPYING" for the exact licensing terms. #include #include +#ifndef KDE_USE_FINAL KWIN_EFFECT_CONFIG_FACTORY +#endif namespace KWin {