aboutsummaryrefslogtreecommitdiffstats
path: root/src/glib_compat.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-29 18:33:37 +0100
committerMax Kellermann <max@duempel.org>2013-01-29 18:33:37 +0100
commit20f85745e7741141953cd9a6715db0d472f567d1 (patch)
tree28f2e577d1113f3cdd2665edcc93ab24eadefa27 /src/glib_compat.h
parentfeb8d5b82f3e7c67806d5efbef1e0b86170ec6dd (diff)
downloadmpd-20f85745e7741141953cd9a6715db0d472f567d1.tar.gz
mpd-20f85745e7741141953cd9a6715db0d472f567d1.tar.xz
mpd-20f85745e7741141953cd9a6715db0d472f567d1.zip
require GLib 2.24
Diffstat (limited to '')
-rw-r--r--src/glib_compat.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/glib_compat.h b/src/glib_compat.h
index 97d1fdc0c..a16b9c6eb 100644
--- a/src/glib_compat.h
+++ b/src/glib_compat.h
@@ -28,17 +28,6 @@
#include <glib.h>
-#if !GLIB_CHECK_VERSION(2,18,0)
-
-static inline void
-g_set_error_literal(GError **err, GQuark domain, gint code,
- const gchar *message)
-{
- g_set_error(err, domain, code, "%s", message);
-}
-
-#endif
-
#if !GLIB_CHECK_VERSION(2,28,0)
static inline gint64