Fix symbol visibility to avoid runtime crash

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 8 months ago committed by TDE Gitea
parent 8a2ee95b71
commit fdac3e6f16

@ -197,7 +197,7 @@ void polyesterConfig::defaults() {
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
extern "C" { extern "C" {
TQObject* allocate_config(TDEConfig* config, TQWidget* parent) { KDE_EXPORT TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
return (new polyesterConfig(config, parent)); return (new polyesterConfig(config, parent));
} }
} }

@ -76,7 +76,7 @@ const char default_right[] = "HIAX";
static const uint TIMERINTERVAL = 25; // msec static const uint TIMERINTERVAL = 25; // msec
static const uint ANIMATIONSTEPS = 20; static const uint ANIMATIONSTEPS = 20;
extern "C" KDecorationFactory* create_factory() { extern "C" KDE_EXPORT KDecorationFactory* create_factory() {
return new polyester::polyesterFactory(); return new polyester::polyesterFactory();
} }

Loading…
Cancel
Save