summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2015-01-12 16:05:28 +0100
committerMichal Ratajsky <[email protected]>2015-01-12 16:05:28 +0100
commit7d287d78564fc8a641d6f7f71c881c3bdaf43e0f (patch)
treeea2dbfe7bf9825e32293dbe6ab039cf5609b44f4
parent41e50fd68e5b78a9982501eda767572a2ce56c26 (diff)
parent01e7b2dc543b51b9484d20f47f3989499513b1a9 (diff)
downloadlibmatemixer-7d287d78564fc8a641d6f7f71c881c3bdaf43e0f.tar.bz2
libmatemixer-7d287d78564fc8a641d6f7f71c881c3bdaf43e0f.tar.xz
Merge pull request #1 from monsta/cleanup
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) {