Fix symbol visibility. This is required to make the module loadable

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 2 months ago committed by TDE Gitea
parent c73c8a4585
commit 941e15eea6

@ -1,7 +1,7 @@
#define VERSION "@VERSION@" #define VERSION "@VERSION@"
// Defined if you have fvisibility and fvisibility-inlines-hidden support. // Defined if you have fvisibility and fvisibility-inlines-hidden support.
#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1 #cmakedefine __TDE_HAVE_GCC_VISIBILITY 1
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */ significant byte first (like Motorola and SPARC, unlike Intel). */

@ -111,7 +111,7 @@ void MalloryConfig::defaults()
extern "C" extern "C"
{ {
TQObject* allocate_config(TDEConfig* config, TQWidget* parent) { TDE_EXPORT TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
return (new MalloryConfig(config, parent)); return (new MalloryConfig(config, parent));
} }
} }

@ -686,7 +686,7 @@ void MalloryClient::resize(const TQSize& s)
extern "C" extern "C"
{ {
KDecorationFactory *create_factory() TDE_EXPORT KDecorationFactory *create_factory()
{ {
return new MalloryHandler(); return new MalloryHandler();
} }

Loading…
Cancel
Save