diff options
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/create_resources.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/src/create_resources.c b/gtk/src/create_resources.c index 70342e4ca..61521ef4d 100644 --- a/gtk/src/create_resources.c +++ b/gtk/src/create_resources.c @@ -521,7 +521,10 @@ main(gint argc, gchar *argv[]) src = argv[optind++]; dst = argv[optind++]; +#if !GLIB_CHECK_VERSION(2, 36, 0) g_type_init(); +#endif + file = g_fopen(src, "r"); if (file == NULL) { |