Switch from the old GLib gettext macros to GNU gettext infrastructure, keep the gtk20 and gtk20-properties domains, and define GTK_LOCALEDIR without AM_GLIB_DEFINE_LOCALEDIR.
Use the newer GDateTime and renamed pattern APIs when available, while
falling back to the older time_t/GTimeVal and pattern APIs with older
GLib versions. Internally, recent timestamps continue to be stored as
gint64 where possible.
Use g_object_new_with_properties() when building against GLib 2.54 or
newer, and fall back to g_object_newv() with older GLib versions.
This allows lowering the minimum required GLib version to 2.38 while
keeping the modern constructor path available on current GLib.
Use g_memdup2() when building against GLib 2.68 or newer. For older
GLib versions, provide small internal gsize-safe fallbacks instead of
falling back to deprecated g_memdup().
This keeps compatibility with older GLib versions without reintroducing
guint-sized allocation truncation.
The previous fallback duplicated the full sort call at each use site,
which was unnecessarily noisy and harder to maintain.
Add a small internal _gtk_sort_array macro instead, using g_sort_array()
when available and g_qsort_with_data() on older GLib versions.
Move the historical upstream GTK+ 2.x release notes into
NEWS.pre-2-24-34 and keep NEWS focused on gtk2-ng changes only.
This makes the current NEWS file easier to read for users and
packagers who want to see what changed since the fork, while still
preserving the old upstream GTK+ release history in the repository.