From 4739ebb61fe0774eabce2eeea74c84912654812c Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Mon, 3 Nov 2014 12:45:31 +0100 Subject: Apply patch glib-deprecated.diff. Provide support for old GLib versions. --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/main.c b/src/main.c index b6d56d4..c4801ba 100644 --- a/src/main.c +++ b/src/main.c @@ -387,8 +387,10 @@ main (int argc, char * argv[]) { GError * error = NULL; +#if !GLIB_CHECK_VERSION (2, 35, 1) /* Init the GTypes */ g_type_init(); +#endif /* Setup i18n */ setlocale (LC_ALL, ""); -- cgit v1.2.3