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,10 +172,12 @@ void smoothblendConfig::defaults() {
// Plugin Stuff //
//////////////////////////////////////////////////////////////////////////////
extern "C" {
TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
return (new smoothblendConfig(config, parent));
}
extern "C"
{
KDE_EXPORT TQObject* allocate_config(TDEConfig* config, TQWidget* parent)
{
return (new smoothblendConfig(config, parent));
}
}
#include "smoothblendconfig.moc"

@ -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();
}
}
//////////////////////////////////////////////////////////////////////////////

Loading…
Cancel
Save