summaryrefslogtreecommitdiff
path: root/gdata/tests/common.c
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2017-03-15 11:14:06 +0000
committerPhilip Withnall <withnall@endlessm.com>2017-03-15 11:14:06 +0000
commit192bcf3ec7752aaf03f19a1f801a9d66cf306a69 (patch)
tree32a4ec69cf5f54d2d85226afd62bc5aea5498665 /gdata/tests/common.c
parent684f95e8845be4f9efc434ea6456bee99b2303ac (diff)
downloadlibgdata-192bcf3ec7752aaf03f19a1f801a9d66cf306a69.tar.gz
build: Bump minimum GLib dependency to 2.38.0
Since the 0.17.7 release, we’ve actually depended on API from GLib 2.38.0 (G_TEST_DIST), so this will just cause earlier build failure than before. This means we can drop some backwards compatibility code for older GLib releases. Spotted by Mart Raudsepp in https://bugzilla.gnome.org/show_bug.cgi?id=780081#c1. Signed-off-by: Philip Withnall <withnall@endlessm.com>
Diffstat (limited to 'gdata/tests/common.c')
-rw-r--r--gdata/tests/common.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdata/tests/common.c b/gdata/tests/common.c
index a707221a..0815ccfa 100644
--- a/gdata/tests/common.c
+++ b/gdata/tests/common.c
@@ -55,10 +55,6 @@ gdata_test_init (int argc, char **argv)
setlocale (LC_ALL, "");
-#if !GLIB_CHECK_VERSION (2, 35, 0)
- g_type_init ();
-#endif
-
/* Parse the custom options */
for (i = 1; i < argc; i++) {
if (strcmp ("--no-interactive", argv[i]) == 0 || strcmp ("-ni", argv[i]) == 0) {