summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-22 11:26:35 +0900
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2024-03-22 13:16:07 +0000
commitfdac3e6f16d6638d721fe2ba7e3f14a0903d465a (patch)
tree173401cb3268249497173596d9507cd0310b7389
parent8a2ee95b7119397c1d2f680b478ba8bb2dde7ac0 (diff)
downloadtde-style-polyester-fdac3e6f16d6638d721fe2ba7e3f14a0903d465a.tar.gz
tde-style-polyester-fdac3e6f16d6638d721fe2ba7e3f14a0903d465a.zip
Fix symbol visibility to avoid runtime crash
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rwxr-xr-xclient/config/polyesterconfig.cc2
-rwxr-xr-xclient/polyester.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/client/config/polyesterconfig.cc b/client/config/polyesterconfig.cc
index 0a55b16..df1a5e7 100755
--- a/client/config/polyesterconfig.cc
+++ b/client/config/polyesterconfig.cc
@@ -197,7 +197,7 @@ void polyesterConfig::defaults() {
//////////////////////////////////////////////////////////////////////////////
extern "C" {
- TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
+ KDE_EXPORT TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
return (new polyesterConfig(config, parent));
}
}
diff --git a/client/polyester.cc b/client/polyester.cc
index edafebd..91c06fe 100755
--- a/client/polyester.cc
+++ b/client/polyester.cc
@@ -76,7 +76,7 @@ const char default_right[] = "HIAX";
static const uint TIMERINTERVAL = 25; // msec
static const uint ANIMATIONSTEPS = 20;
-extern "C" KDecorationFactory* create_factory() {
+extern "C" KDE_EXPORT KDecorationFactory* create_factory() {
return new polyester::polyesterFactory();
}