summaryrefslogtreecommitdiff
path: root/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'shell/source/sessioninstall/SyncDbusSessionHelper.cxx')
-rw-r--r--shell/source/sessioninstall/SyncDbusSessionHelper.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/source/sessioninstall/SyncDbusSessionHelper.cxx b/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
index e8337845c303..a39c847cd47c 100644
--- a/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
+++ b/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
@@ -62,7 +62,9 @@ namespace shell { namespace sessioninstall
{
SyncDbusSessionHelper::SyncDbusSessionHelper(Reference<XComponentContext> const&)
{
+#if !defined(GLIB_VERSION_2_36)
g_type_init ();
+#endif
}
void SAL_CALL SyncDbusSessionHelper::InstallPackageNames( const ::sal_uInt32 nXid, const Sequence< OUString >& vPackages, const OUString& sInteraction ) throw (RuntimeException)
{