summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-06-29 16:11:52 +0200
committerStefano Karapetsas <[email protected]>2013-06-29 16:11:52 +0200
commit7fb7ef06b5f538eb7fbe5eb5a3d5e4dcb8e7fba7 (patch)
tree716427ab947e4b468500f2dc4ff54942730f2b39
parentd433b647391a28226bfd6fa5e5474c5bbc548c81 (diff)
downloadcaja-7fb7ef06b5f538eb7fbe5eb5a3d5e4dcb8e7fba7.tar.bz2
caja-7fb7ef06b5f538eb7fbe5eb5a3d5e4dcb8e7fba7.tar.xz
Fix g_type_init deprecation
-rw-r--r--src/caja-convert-metadata.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/caja-convert-metadata.c b/src/caja-convert-metadata.c
index faf44e87..5ea7a13b 100644
--- a/src/caja-convert-metadata.c
+++ b/src/caja-convert-metadata.c
@@ -338,7 +338,9 @@ main (int argc, char *argv[])
GError *error = NULL;
int i;
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
+#endif
context = g_option_context_new ("<caja metadata files> - convert caja metadata");
g_option_context_add_main_entries (context, entries, NULL);