From 762bfec2c849854fc0247acf8d2f107c27b17940 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 31 Dec 2021 12:15:57 +0100 Subject: Add option WITH_GCC_VISIBILITY. Fix building with hidden visibility. Add missing definitions to config.h.cmake. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kate/tabbarextension/plugin_katetabbarextension.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kate/tabbarextension') diff --git a/kate/tabbarextension/plugin_katetabbarextension.cpp b/kate/tabbarextension/plugin_katetabbarextension.cpp index 462161b..4f0682c 100644 --- a/kate/tabbarextension/plugin_katetabbarextension.cpp +++ b/kate/tabbarextension/plugin_katetabbarextension.cpp @@ -55,11 +55,11 @@ class PluginView : public KXMLGUIClient extern "C" { - void* init_libkatetabbarextensionplugin() - { - TDEGlobal::locale()->insertCatalogue("katetabbarextension"); - return new KatePluginFactory; - } + KDE_EXPORT void* init_libkatetabbarextensionplugin() + { + TDEGlobal::locale()->insertCatalogue("katetabbarextension"); + return new KatePluginFactory; + } } TQObject* KatePluginFactory::createObject(TQObject *parent, -- cgit v1.2.1