From 9f380946feadd7e5bb8247d9de2ae6e181471d56 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Mon, 13 May 2013 13:19:38 +0200 Subject: mate-about: Fix g_type_init deprecation in glib 2.36 --- mate-about/mate-about.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mate-about/mate-about.c') diff --git a/mate-about/mate-about.c b/mate-about/mate-about.c index f5f8496..9a1a9ca 100644 --- a/mate-about/mate-about.c +++ b/mate-about/mate-about.c @@ -140,7 +140,9 @@ mate_gettext(GETTEXT_PACKAGE, LOCALE_DIR, "UTF-8"); + #if !GLIB_CHECK_VERSION (2, 36, 0) g_type_init(); + #endif /* http://www.gtk.org/api/2.6/glib/glib-Commandline-option-parser.html */ GOptionContext* context = g_option_context_new(NULL); -- cgit v1.2.1