view: g_type_init() is deprecated in glib >= 2.35
Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
This commit is contained in:
committed by
Kristian Høgsberg
parent
8418a0cc8d
commit
d160a309e6
@@ -293,7 +293,9 @@ main(int argc, char *argv[])
|
|||||||
int i;
|
int i;
|
||||||
int view_counter = 0;
|
int view_counter = 0;
|
||||||
|
|
||||||
|
#if !GLIB_CHECK_VERSION(2, 35, 0)
|
||||||
g_type_init();
|
g_type_init();
|
||||||
|
#endif
|
||||||
|
|
||||||
parse_options(view_options, ARRAY_LENGTH(view_options), &argc, argv);
|
parse_options(view_options, ARRAY_LENGTH(view_options), &argc, argv);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user