Skip to content
  • Dan Winship's avatar
    libnm-core: simplify _nm_setting_new_from_dbus() · d80e1001
    Dan Winship authored
    libnm-util's nm_setting_new_from_hash() needed to call
    g_type_class_ref(setting_type) to ensure that the class had been
    initialized by the time we fetched its properties. But in libnm-core's
    version, we create the setting object before fetching the list of
    properties, so we know the class will already have been initialized by
    that point.
    d80e1001