summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-01-12 17:05:02 +0300
committerMonsta <[email protected]>2015-01-12 17:05:02 +0300
commit01e7b2dc543b51b9484d20f47f3989499513b1a9 (patch)
treeea2dbfe7bf9825e32293dbe6ab039cf5609b44f4
parent41e50fd68e5b78a9982501eda767572a2ce56c26 (diff)
downloadlibmatemixer-01e7b2dc543b51b9484d20f47f3989499513b1a9.tar.bz2
libmatemixer-01e7b2dc543b51b9484d20f47f3989499513b1a9.tar.xz
drop support for GLib < 2.36
-rw-r--r--configure.ac2
-rw-r--r--libmatemixer/matemixer.c4
2 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 996881f..4a053ea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,7 +72,7 @@ AM_GLIB_GNU_GETTEXT
# =======================================================================
PKG_PROG_PKG_CONFIG
-GLIB_REQUIRED_VERSION=2.32.0
+GLIB_REQUIRED_VERSION=2.36.0
PKG_CHECK_MODULES(GLIB, [
glib-2.0 >= $GLIB_REQUIRED_VERSION
diff --git a/libmatemixer/matemixer.c b/libmatemixer/matemixer.c
index 5e7c825..1c09c7b 100644
--- a/libmatemixer/matemixer.c
+++ b/libmatemixer/matemixer.c
@@ -63,10 +63,6 @@ mate_mixer_init (void)
if (initialized == TRUE)
return TRUE;
-#if !GLIB_CHECK_VERSION (2, 36, 0)
- g_type_init ();
-#endif
-
load_modules ();
if (modules != NULL) {