From a0a0a16fb72bb7b592d23ce29ca52c7d63c2e40b Mon Sep 17 00:00:00 2001 From: infirit Date: Tue, 16 Dec 2014 12:09:30 +0100 Subject: Revert "Drop support for Glib < 2.36" This reverts commit 6a0c8a93e30243232d63487c09ccb15a93755265. --- mate-about/mate-about.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mate-about') diff --git a/mate-about/mate-about.c b/mate-about/mate-about.c index 2167769..5f89e17 100644 --- a/mate-about/mate-about.c +++ b/mate-about/mate-about.c @@ -120,6 +120,10 @@ int main(int argc, char** argv) 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); g_option_context_add_main_entries(context, command_entries, GETTEXT_PACKAGE); -- cgit v1.2.1