diff options
author | Dan Winship <danw@gnome.org> | 2014-08-12 17:25:26 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2014-08-16 10:17:53 -0400 |
commit | 32c26a859bd869a5a910c5047685bcd2badce6d2 (patch) | |
tree | 2185789989bd749953fc80959403ad8cec284a3b /libnm-core/nm-setting.h | |
parent | 2bfccab710f694c9f2d54033a305ba64533e3bc5 (diff) | |
download | NetworkManager-32c26a859bd869a5a910c5047685bcd2badce6d2.tar.gz |
libnm-core: move some fake NMConnection methods over to NMSetting
nm_connection_lookup_setting_type() and
nm_connection_lookup_setting_type_by_quark() have nothing to do with
NMConnection. So move them to NMSetting (and rename them to
nm_setting_lookup_type() and nm_setting_lookup_type_by_quark()).
Diffstat (limited to 'libnm-core/nm-setting.h')
-rw-r--r-- | libnm-core/nm-setting.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libnm-core/nm-setting.h b/libnm-core/nm-setting.h index 154bd0c577..793d24ed5b 100644 --- a/libnm-core/nm-setting.h +++ b/libnm-core/nm-setting.h @@ -229,6 +229,9 @@ typedef void (*NMSettingValueIterFn) (NMSetting *setting, GType nm_setting_get_type (void); +GType nm_setting_lookup_type (const char *name); +GType nm_setting_lookup_type_by_quark (GQuark error_quark); + /** * NMSettingHashFlags: * @NM_SETTING_HASH_FLAG_ALL: hash all properties (including secrets) |