summaryrefslogtreecommitdiff
path: root/pango-view
diff options
context:
space:
mode:
Diffstat (limited to 'pango-view')
-rw-r--r--pango-view/viewer-main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pango-view/viewer-main.c b/pango-view/viewer-main.c
index 8ff76bbc..525599a7 100644
--- a/pango-view/viewer-main.c
+++ b/pango-view/viewer-main.c
@@ -47,7 +47,9 @@ main (int argc,
int width, height;
gpointer surface;
+#if !GLIB_CHECK_VERSION (2, 35, 3)
g_type_init();
+#endif
g_set_prgname ("pango-view");
setlocale (LC_ALL, "");
parse_options (argc, argv);