view: g_type_init() is deprecated in glib >= 2.35

Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
Jan Arne Petersen 12 years ago committed by Kristian Høgsberg
parent 8418a0cc8d
commit d160a309e6
  1. 2
      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);

Loading…
Cancel
Save