soup: omit deprecated g_type_init() when using >= GLIB 2.36
This commit is contained in:
@@ -65,7 +65,9 @@ plugin_t *soup_plugin_create()
|
|||||||
{
|
{
|
||||||
private_soup_plugin_t *this;
|
private_soup_plugin_t *this;
|
||||||
|
|
||||||
|
#if !GLIB_CHECK_VERSION(2,36,0)
|
||||||
g_type_init();
|
g_type_init();
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !GLIB_CHECK_VERSION(2,23,0)
|
#if !GLIB_CHECK_VERSION(2,23,0)
|
||||||
if (!g_thread_get_initialized())
|
if (!g_thread_get_initialized())
|
||||||
|
|||||||
Reference in New Issue
Block a user