From 851ecce5d86656393deaa828fe856f40d2d6c02f Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 24 Jan 2014 13:39:04 +0100 Subject: Remove deprecated g_type_init It does nothing as of glib version 2.36. --- configure.ac | 2 +- src/cmumble.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index b65d62e..331a9a1 100644 --- a/configure.ac +++ b/configure.ac @@ -36,7 +36,7 @@ PKG_CHECK_MODULES(PROTOBUF, [libprotobuf-c],[], [ AC_CHECK_LIB([protobuf-c], [protobuf_c_message_pack_to_buffer], [], [AC_MSG_ERROR([libprotobuf-c not found])]) ]) -PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.28]) +PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.36]) PKG_CHECK_MODULES(GIO, [gio-2.0]) PKG_CHECK_MODULES(GSTREAMER, [gstreamer-1.0 gstreamer-app-1.0 gstreamer-tag-1.0]) PKG_CHECK_MODULES(CELT, [celt]) diff --git a/src/cmumble.c b/src/cmumble.c index 8267834..dd9b5d5 100644 --- a/src/cmumble.c +++ b/src/cmumble.c @@ -356,7 +356,6 @@ int main(int argc, char **argv) cm.users = NULL; cm.verbose = verbose; - g_type_init(); cm.loop = g_main_loop_new(NULL, FALSE); cm.callbacks = (const callback_t *) &callbacks; -- cgit