summaryrefslogtreecommitdiff
path: root/mate-about
diff options
context:
space:
mode:
Diffstat (limited to 'mate-about')
-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);