commit | c05da82c1a427ce535af0c1b3e7a795330cf5061 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Tue Oct 07 20:46:26 2014 -0600 |
committer | Jens Axboe <axboe@fb.com> | Tue Oct 07 20:46:26 2014 -0600 |
tree | a0d700b2e3bf001a6925dd0a6af18329a3d47094 | |
parent | 7efff409c0679bd3cf0ac2c6efade8955249c724 [diff] |
gfio: remove warning on g_type_init() being deprecated Compile throws this on newer glib: gfio.c: In function ‘init_ui’: gfio.c:1690:2: warning: ‘g_type_init’ is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:667) [-Wdeprecated-declarations] g_type_init(); ^ Fix it with a GLIB_CHECK_VERSION() check for 2.36.0. Signed-off-by: Jens Axboe <axboe@fb.com>