Skip to content

mainloop: Add g_source_set_static_name

Matthias Clasen requested to merge cheaper-source-names into main

g_source_set_name duplicates the string, and this is showing up as one of the more prominent sources of strdups in GTK profiles, despite all the names we use being literals.

Add a variant that avoids the overhead.

Merge request reports