Created attachment 93865 [details]
Clean up some compiler warnings and deprecated functions
This patch just updates some of the code base for
deprecated functions and avoids some compiler warnings.
Bug 51120 also removes some other compiler warnings.