From 7085e78f62c562846a20b9404795034a3ad66113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 5 Sep 2022 22:31:11 +0200 Subject: Add option WITH_GCC_VISIBILITY. Fix building with hidden visibility. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kcm_gtk/kcmgtk.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'kcm_gtk') diff --git a/kcm_gtk/kcmgtk.cpp b/kcm_gtk/kcmgtk.cpp index c2dcac0..2d35870 100644 --- a/kcm_gtk/kcmgtk.cpp +++ b/kcm_gtk/kcmgtk.cpp @@ -18,6 +18,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ +#if defined( HAVE_CONFIG_H ) +# include "config.h" +#endif + #include #include @@ -68,7 +72,7 @@ K_EXPORT_COMPONENT_FACTORY( kcm_gtk, KcmGtkFactory("gtk"))*/ extern "C" { - TDECModule *create_kcmgtk( TQWidget * parent, const char * name ) + KDE_EXPORT TDECModule *create_kcmgtk( TQWidget * parent, const char * name ) { TDEGlobal::locale()->insertCatalogue( "gtk-qt-engine" ); return new KcmGtk( parent, "kcmgtk" ); -- cgit v1.2.1