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>
pull/20/head
Slávek Banko 3 years ago
parent fed5a8d5ad
commit aa77288037
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -172,8 +172,10 @@ void smoothblendConfig::defaults() {
// Plugin Stuff // // Plugin Stuff //
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
extern "C" { extern "C"
TQObject* allocate_config(TDEConfig* config, TQWidget* parent) { {
KDE_EXPORT TQObject* allocate_config(TDEConfig* config, TQWidget* parent)
{
return (new smoothblendConfig(config, parent)); return (new smoothblendConfig(config, parent));
} }
} }

@ -59,9 +59,13 @@ const char default_right[] = "HIAX";
static const uint TIMERINTERVAL = 50; // msec static const uint TIMERINTERVAL = 50; // msec
static const uint ANIMATIONSTEPS = 4; static const uint ANIMATIONSTEPS = 4;
extern "C" KDecorationFactory* create_factory() { extern "C"
{
KDE_EXPORT KDecorationFactory* create_factory()
{
return new smoothblend::smoothblendFactory(); return new smoothblend::smoothblendFactory();
} }
}
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
// smoothblendFactory() // smoothblendFactory()

Loading…
Cancel
Save