Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EionRobb/skype4pidgin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libskype.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libskype.c b/libskype.c
index 522e7e5..8f320da 100644
--- a/libskype.c
+++ b/libskype.c
@@ -404,8 +404,11 @@ plugin_init(PurplePlugin *plugin)
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
#endif
- if (!g_thread_supported ())
- g_thread_init (NULL);
+#if GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 32
+ if (glib_check_version(2, 32, 0))
+ if (!g_thread_supported ())
+ g_thread_init (NULL);
+#endif
this_plugin = plugin;
/* plugin's path at
this_plugin->path */