• Matthias Clasen's avatar
    Make the closure variants of name owning and watching actually work · 402ad195
    Matthias Clasen authored
    The GClosure API is a bit funky (and badly documented), and requires
    you to set a marshaller on the closure, and the marshaller has an
    implicit 'this' argument, and the caller is reponsible for unsetting
    the values after invoking the closure.
    
    I've added some calls of the _with_closures variants to the
    gdbus-names test now.
    402ad195
gdbus-names.c 26.7 KB