/pidgin/main: c305fb08c0d1: Backport more warning fixes for libp...
Tomasz Wasilczyk
twasilczyk at pidgin.im
Tue May 6 09:06:37 EDT 2014
Changeset: c305fb08c0d17a3ba6bc07526d52b89e75687222
Author: Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date: 2014-05-06 15:06 +0200
Branch: release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/c305fb08c0d1
Description:
Backport more warning fixes for libpurple tests from default
diffstat:
libpurple/tests/check_libpurple.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (14 lines):
diff --git a/libpurple/tests/check_libpurple.c b/libpurple/tests/check_libpurple.c
--- a/libpurple/tests/check_libpurple.c
+++ b/libpurple/tests/check_libpurple.c
@@ -37,7 +37,10 @@ static PurpleEventLoopUiOps eventloop_ui
static void
purple_check_init(void) {
+#if !GLIB_CHECK_VERSION(2, 36, 0)
+ /* GLib type system is automaticaly initialized since 2.36. */
g_type_init();
+#endif
purple_eventloop_set_ui_ops(&eventloop_ui_ops);
More information about the Commits
mailing list