From fdac3e6f16d6638d721fe2ba7e3f14a0903d465a Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 22 Mar 2024 11:26:35 +0900 Subject: Fix symbol visibility to avoid runtime crash Signed-off-by: Michele Calgaro --- client/config/polyesterconfig.cc | 2 +- client/polyester.cc | 2 +- 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(); } -- cgit v1.2.1