diff options
-rw-r--r-- | sd/source/ui/remotecontrol/BluetoothServer.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx index 691951b588fb..5bf242c269ad 100644 --- a/sd/source/ui/remotecontrol/BluetoothServer.cxx +++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx @@ -40,6 +40,7 @@ BluetoothServer::~BluetoothServer() void BluetoothServer::execute() { #if defined(LINUX) && defined(ENABLE_DBUS) + g_type_init(); GError *aError = NULL; @@ -145,13 +146,9 @@ void BluetoothServer::execute() } } -#endif // LINUX && ENABLE_DBUS - -#ifdef WIN32 - -#endif +#else -#ifdef MACOSX + (void) mpCommunicators; // avoid warnings about unused member #endif } |