diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-10-06 19:47:09 +0900 |
---|---|---|
committer | TDE Gitea <gitea@mirror.git.trinitydesktop.org> | 2024-10-07 12:19:38 +0000 |
commit | 941e15eea685127fc59b761a1f3acfb2a6ae9bba (patch) | |
tree | 065aa7a0a24a7b2ce52281aaf60488d3f1aa01cb | |
parent | c73c8a4585227fcf1aecdc1a5606a5b9b808bf33 (diff) | |
download | twin-style-mallory-941e15eea685127fc59b761a1f3acfb2a6ae9bba.tar.gz twin-style-mallory-941e15eea685127fc59b761a1f3acfb2a6ae9bba.zip |
Fix symbol visibility. This is required to make the module loadable
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | config.h.cmake | 2 | ||||
-rw-r--r-- | malloryclient/config/malloryconfig.cpp | 2 | ||||
-rw-r--r-- | malloryclient/malloryclient.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/config.h.cmake b/config.h.cmake index 1370df9..dad3ef3 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -1,7 +1,7 @@ #define VERSION "@VERSION@" // 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 significant byte first (like Motorola and SPARC, unlike Intel). */ diff --git a/malloryclient/config/malloryconfig.cpp b/malloryclient/config/malloryconfig.cpp index c3ec0c6..1f450ec 100644 --- a/malloryclient/config/malloryconfig.cpp +++ b/malloryclient/config/malloryconfig.cpp @@ -111,7 +111,7 @@ void MalloryConfig::defaults() extern "C" { - TQObject* allocate_config(TDEConfig* config, TQWidget* parent) { + TDE_EXPORT TQObject* allocate_config(TDEConfig* config, TQWidget* parent) { return (new MalloryConfig(config, parent)); } } diff --git a/malloryclient/malloryclient.cpp b/malloryclient/malloryclient.cpp index 722fec2..0e50d36 100644 --- a/malloryclient/malloryclient.cpp +++ b/malloryclient/malloryclient.cpp @@ -686,7 +686,7 @@ void MalloryClient::resize(const TQSize& s) extern "C" { - KDecorationFactory *create_factory() + TDE_EXPORT KDecorationFactory *create_factory() { return new MalloryHandler(); } |