summaryrefslogtreecommitdiff
path: root/mate-about/mate-about.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-05-13 13:19:38 +0200
committerStefano Karapetsas <[email protected]>2013-05-13 13:19:38 +0200
commit9f380946feadd7e5bb8247d9de2ae6e181471d56 (patch)
tree6369d7280330b3cb5090f9a2f1e47b8d664a50e9 /mate-about/mate-about.c
parent9f0f1ba137d418b56a7cde1a12dfa34295edfb8f (diff)
downloadmate-desktop-9f380946feadd7e5bb8247d9de2ae6e181471d56.tar.bz2
mate-desktop-9f380946feadd7e5bb8247d9de2ae6e181471d56.tar.xz
mate-about: Fix g_type_init deprecation in glib 2.36
Diffstat (limited to 'mate-about/mate-about.c')
-rw-r--r--mate-about/mate-about.c2
1 files changed, 2 insertions, 0 deletions
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);