• Dan Winship's avatar
    libnm-glib: simplify and genericize property declaration · 2e48cc09
    Dan Winship authored
    Rename _nm_object_handle_properties_changed(), etc, to be about
    properties in general, rather than just property changes.
    Interpret func==NULL in NMPropertiesInfo as meaning "use
    _nm_object_demarshal_generic", and then reorder the fields so that you
    can just leave that field out in the declarations when it's NULL.
    Add a way to register properties that exist in D-Bus but aren't
    tracked by the NMObjects, and use that for NMDevice's D-Bus Ip4Address
    property, replacing the existing hack.
    Also add a few other missing properties noticed along the way.
nm-dhcp4-config.c 6.64 KB