summaryrefslogtreecommitdiffstats
path: root/twin-styles/smooth-blend/client/smoothblend.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-07-10 00:31:42 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-07-10 00:32:03 +0200
commit441168756e4dce210b48c7e559d1f90eed2b45e0 (patch)
tree27f4547b71e646b2fdc515bd5df9728e840b2906 /twin-styles/smooth-blend/client/smoothblend.cpp
parent919d68292f83d3c28dcd9e0b4d72e3bcbf7ce404 (diff)
downloadtdeartwork-441168756e4dce210b48c7e559d1f90eed2b45e0.tar.gz
tdeartwork-441168756e4dce210b48c7e559d1f90eed2b45e0.zip
twin-style smooth-blend: Add KDE_EXPORT to the public symbols.
This solves the crash when using this twin-style if built with hidden visibility. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit aa772880377650c24e258970f5ee8540c3793e5c)
Diffstat (limited to 'twin-styles/smooth-blend/client/smoothblend.cpp')
-rw-r--r--twin-styles/smooth-blend/client/smoothblend.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/twin-styles/smooth-blend/client/smoothblend.cpp b/twin-styles/smooth-blend/client/smoothblend.cpp
index 7c3adddd..31b23deb 100644
--- a/twin-styles/smooth-blend/client/smoothblend.cpp
+++ b/twin-styles/smooth-blend/client/smoothblend.cpp
@@ -59,8 +59,12 @@ const char default_right[] = "HIAX";
static const uint TIMERINTERVAL = 50; // msec
static const uint ANIMATIONSTEPS = 4;
-extern "C" KDecorationFactory* create_factory() {
- return new smoothblend::smoothblendFactory();
+extern "C"
+{
+ KDE_EXPORT KDecorationFactory* create_factory()
+ {
+ return new smoothblend::smoothblendFactory();
+ }
}
//////////////////////////////////////////////////////////////////////////////