diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2012-07-27 13:15:54 +0200 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2012-07-27 13:15:54 +0200 |
commit | edb85e972051aff3cfcd5990ea1bd8a28dddc9d9 (patch) | |
tree | 922721c3a5491d87876bdf6f4e218bf2151af4d4 /libnm-util/nm-setting-wired.h | |
parent | 915cfe8ce8eee78e9be387b5e87fcf31362ee82d (diff) | |
download | NetworkManager-edb85e972051aff3cfcd5990ea1bd8a28dddc9d9.tar.gz |
core: fix NM_IS_*_CLASS(klass) macros
The argument is 'klass' not 'obj'.
Diffstat (limited to 'libnm-util/nm-setting-wired.h')
-rw-r--r-- | libnm-util/nm-setting-wired.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-util/nm-setting-wired.h b/libnm-util/nm-setting-wired.h index 0189785faa..e235d23cc4 100644 --- a/libnm-util/nm-setting-wired.h +++ b/libnm-util/nm-setting-wired.h @@ -34,7 +34,7 @@ G_BEGIN_DECLS #define NM_SETTING_WIRED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_SETTING_WIRED, NMSettingWired)) #define NM_SETTING_WIRED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NM_TYPE_SETTING_WIRED, NMSettingWiredClass)) #define NM_IS_SETTING_WIRED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NM_TYPE_SETTING_WIRED)) -#define NM_IS_SETTING_WIRED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), NM_TYPE_SETTING_WIRED)) +#define NM_IS_SETTING_WIRED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NM_TYPE_SETTING_WIRED)) #define NM_SETTING_WIRED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_SETTING_WIRED, NMSettingWiredClass)) #define NM_SETTING_WIRED_SETTING_NAME "802-3-ethernet" |