deprecated glib.h functions



How do you use slice allocator to patch deprecated functions from earlier versions of glib.  Functions were deprecated in glib-2.10.0

 

gtkrbtree.c: In function '_gtk_rbnode_validate_allocator':

gtkrbtree.c:76:4: warning: 'g_mem_chunk_destroy' is deprecated (declared at /usr/intel/pkgs/gtk+/2.7.2/include/glib-2.0/glib/deprecated/gallocator.h:50) [-Wdeprecated-declarations]

gtkrbtree.c:83:7: warning: 'g_mem_chunk_new' is deprecated (declared at /usr/intel/pkgs/gtk+/2.7.2/include/glib-2.0/glib/deprecated/gallocator.h:45) [-Wdeprecated-declarations]

gtkrbtree.c: In function '_gtk_rbnode_new':

gtkrbtree.c:102:7: warning: 'g_allocator_new' is deprecated (declared at /usr/intel/pkgs/gtk+/2.7.2/include/glib-2.0/glib/deprecated/gallocator.h:71) [-Wdeprecated-declarations]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]