commit | cca4590a87d763767a358c94947fba76d853cbc6 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Tue Oct 07 20:46:26 2014 -0600 |
committer | Mohamad Ayyash <mkayyash@google.com> | Fri Mar 06 17:57:22 2015 -0800 |
tree | 451ce55bf0f188a670593793de82abb1f480d32f | |
parent | cc481fd2dca2204544ac3bbba754bbf108dc96f7 [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>