[PATCH v2 07/28] view: g_type_init() is deprecated in glib >= 2.35

Jan Arne Petersen jpetersen at openismus.com
Thu Apr 18 07:47:21 PDT 2013


From: Jan Arne Petersen <jpetersen at openismus.com>

Signed-off-by: Jan Arne Petersen <jpetersen at openismus.com>
---
 clients/view.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/clients/view.c b/clients/view.c
index c8ced15..110a829 100644
--- a/clients/view.c
+++ b/clients/view.c
@@ -293,7 +293,9 @@ main(int argc, char *argv[])
 	int i;
 	int view_counter = 0;
 
+#if !GLIB_CHECK_VERSION(2, 35, 0)
 	g_type_init();
+#endif
 
 	parse_options(view_options, ARRAY_LENGTH(view_options), &argc, argv);
 
-- 
1.8.1.4



More information about the wayland-devel mailing list