summaryrefslogtreecommitdiff
path: root/mate-about/mate-about.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-16 12:09:30 +0100
committerinfirit <[email protected]>2014-12-16 12:09:30 +0100
commita0a0a16fb72bb7b592d23ce29ca52c7d63c2e40b (patch)
treed10dc0a30dff50ae841348b3031de563a7aa3ca1 /mate-about/mate-about.c
parenta6a0a5879533b0915901ab69703eaf327bbca846 (diff)
downloadmate-desktop-a0a0a16fb72bb7b592d23ce29ca52c7d63c2e40b.tar.bz2
mate-desktop-a0a0a16fb72bb7b592d23ce29ca52c7d63c2e40b.tar.xz
Revert "Drop support for Glib < 2.36"
This reverts commit 6a0c8a93e30243232d63487c09ccb15a93755265.
Diffstat (limited to 'mate-about/mate-about.c')
-rw-r--r--mate-about/mate-about.c4
1 files changed, 4 insertions, 0 deletions
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);