Avoid copying static debug strings
The g_source_set_name calls were showing up as a major source of strdups in our profiles. Avoid that by using new GLib api when available.
The g_source_set_name calls were showing up as a major source of strdups in our profiles. Avoid that by using new GLib api when available.