summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2013-04-19 17:41:20 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2013-04-19 17:46:28 +0400
commit9dd52eb86a9122e34c307a9160ae3ccd5706c94e (patch)
tree1d599d54564705503b338550f37fc448ac01cc12 /ucb/source
parent8a6a940a469bac1c274b988dce713181f044d6c4 (diff)
use GLIB_CHECK_VERSION instead of GLIB_VERSION_X_XX
Michael Meeks pointed out that the latter can cause problems. Change-Id: I68e7f8c6dcfae52305738b2a8cdee72e9c2c7f93
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/gio/gio_provider.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/gio/gio_provider.cxx b/ucb/source/ucp/gio/gio_provider.cxx
index acd6e14aca23..6737417c9b9d 100644
--- a/ucb/source/ucp/gio/gio_provider.cxx
+++ b/ucb/source/ucp/gio/gio_provider.cxx
@@ -100,7 +100,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ucpgio1_component_getFactory( co
uno::Reference< lang::XMultiServiceFactory > xSMgr
(reinterpret_cast< lang::XMultiServiceFactory * >( pServiceManager ) );
uno::Reference< lang::XSingleServiceFactory > xFactory;
-#if !defined(GLIB_VERSION_2_36)
+#if !GLIB_CHECK_VERSION(2,36,0)
g_type_init();
#endif
if ( !::gio::ContentProvider::getImplementationName_Static().compareToAscii( pImplName ) )