Skip to content
  • Dan Winship's avatar
    libnm: add init_dbus() virtual method to NMObject · 8ca2998d
    Dan Winship authored
    Rather than having each object type override constructed() to call
    _nm_object_register_properties(), have NMObject call a virtual method
    on the subclass to ask it to register them.
    
    Move some code around in nm-client.c and nm-object.c so that all
    D-Bus-related initialization happens in init_dbus(), and
    non-D-Bus-related stuff stays in construct().
    
    (This simplifies the next commit.)
    8ca2998d