Revert RR 903
Review Request #909 — Created Sept. 3, 2021 and submitted — Latest diff uploaded
Also make sure that internal.h is included before glib so that GLIB_VERSION_MIN_REQUIRED will actually work.
Compiled and verified the deprecation warnings didn't show up.