• Philip Withnall's avatar
    gmain: Add names to various GSources constructed in GLib · 208a6e81
    Philip Withnall authored
    For the purposes of debugging, it is quite useful for every GSource to
    have a name set. Ensure that any GSource we construct inside GLib has a
    name set. For GSources which are then returned to the caller, this name
    can then be overridden with something even more useful by the caller.
    
    Since this data is only used for debugging, avoid doing any allocations
    for it; just use static strings.
    
    GNOME/glib#1175
    208a6e81
gtask.c 60.7 KB