Skip to content
  • Thomas Haller's avatar
    libnm: avoid constructor function for registering NMSetting types · fa9fe466
    Thomas Haller authored
    constructor functions are ugly, because code is running before
    main() starts. Instead, as the registration code for NMSetting types
    is insid the GType constructor, we just need to ensure at the
    right place, that the GType was created.
    
    The right place here is _register_settings_ensure_inited(), because
    that is called before we need the registration information.
    fa9fe466