summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-01-14 19:05:31 +0000
committerjstebbins <[email protected]>2014-01-14 19:05:31 +0000
commitc67470b02699badf203d62c044670e86e7fb2e01 (patch)
treee6ea77092afb2a0293e48985da98ad097acec213
parent36b7f949d2257fa1e1262bd441f89f566b04c5d4 (diff)
LinGui: fix deprecated g_type_init()
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5972 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--gtk/src/create_resources.c3
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)
{