diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2013-04-19 17:41:20 +0400 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2013-11-05 11:50:59 +0100 |
commit | c58e1e1ff3e5eb776d13f4cf5bad2937326a1737 (patch) | |
tree | dc997193cdad02d04f1b299ef028780b3b7c111b /ucb | |
parent | 99c722f4e214744f9574f6fddb5f57412da4e20e (diff) |
use GLIB_CHECK_VERSION instead of GLIB_VERSION_X_XX
Michael Meeks pointed out that the latter can cause problems.
Change-Id: I68e7f8c6dcfae52305738b2a8cdee72e9c2c7f93
(cherry picked from commit 9dd52eb86a9122e34c307a9160ae3ccd5706c94e)
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/gio/gio_provider.cxx | 2 |
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 c95117bee6cb..bf6a5012093c 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 ) ) |