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-wimax.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-wimax.h')
-rw-r--r-- | libnm-util/nm-setting-wimax.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-util/nm-setting-wimax.h b/libnm-util/nm-setting-wimax.h index be3a47e500..935960d8f9 100644 --- a/libnm-util/nm-setting-wimax.h +++ b/libnm-util/nm-setting-wimax.h @@ -30,7 +30,7 @@ G_BEGIN_DECLS #define NM_SETTING_WIMAX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_SETTING_WIMAX, NMSettingWimax)) #define NM_SETTING_WIMAX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NM_TYPE_SETTING_WIMAX, NMSettingWimaxClass)) #define NM_IS_SETTING_WIMAX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NM_TYPE_SETTING_WIMAX)) -#define NM_IS_SETTING_WIMAX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), NM_TYPE_SETTING_WIMAX)) +#define NM_IS_SETTING_WIMAX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NM_TYPE_SETTING_WIMAX)) #define NM_SETTING_WIMAX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_SETTING_WIMAX, NMSettingWimaxClass)) #define NM_SETTING_WIMAX_SETTING_NAME "wimax" |