diff --git a/sfx2/source/appl/shutdownicon.hxx b/sfx2/source/appl/shutdownicon.hxx index d90792751716..d3974699de0d 100644 --- a/sfx2/source/appl/shutdownicon.hxx +++ b/sfx2/source/appl/shutdownicon.hxx @@ -34,6 +34,13 @@ #include #include +extern "C" { + +void SAL_DLLPUBLIC_EXPORT plugin_init_sys_tray(); +void SAL_DLLPUBLIC_EXPORT plugin_shutdown_sys_tray(); + +} + class ResMgr; namespace sfx2 { diff --git a/sfx2/source/appl/shutdowniconunx.cxx b/sfx2/source/appl/shutdowniconunx.cxx index 8428b192d1e0..52d176dc1224 100644 --- a/sfx2/source/appl/shutdowniconunx.cxx +++ b/sfx2/source/appl/shutdowniconunx.cxx @@ -49,13 +49,6 @@ using namespace ::osl; -extern "C" { - -void SAL_DLLPUBLIC_EXPORT plugin_init_sys_tray(); -void SAL_DLLPUBLIC_EXPORT plugin_shutdown_sys_tray(); - -} - static ResMgr *pVCLResMgr; static GtkStatusIcon* pTrayIcon; static GtkWidget *pExitMenuItem = nullptr;