adg: fix g_object_new_with_properties() fallback code
Use GLIB_CHECK_VERSION instead of GTK_CHECK_VERSION when checking glib.
Move the code into the appropriate file: that method is not GTK related,
so it must be compiled also when GTK is disabled.
ntd on Apr 2 2020, 5:08 PM.Authored by