[network-manager-openswan/danw/cleanup-bgo746693] properties: fix *_IS_*_CLASS(klass) macros
- From: Jiří Klimeš <jklimes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openswan/danw/cleanup-bgo746693] properties: fix *_IS_*_CLASS(klass) macros
- Date: Wed, 25 Mar 2015 12:00:59 +0000 (UTC)
commit 6f9b7569df378f3335f4af9b3e6091d4dc6e5d49
Author: Jiří Klimeš <jklimes redhat com>
Date: Wed Mar 25 12:57:20 2015 +0100
properties: fix *_IS_*_CLASS(klass) macros
The argument is 'klass', not 'obj'.
properties/nm-openswan.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/properties/nm-openswan.h b/properties/nm-openswan.h
index dfa3398..6ad0fae 100644
--- a/properties/nm-openswan.h
+++ b/properties/nm-openswan.h
@@ -41,7 +41,7 @@ GType openswan_plugin_ui_error_get_type (void);
#define OPENSWAN_PLUGIN_UI(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), OPENSWAN_TYPE_PLUGIN_UI,
OpenswanPluginUi))
#define OPENSWAN_PLUGIN_UI_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), OPENSWAN_TYPE_PLUGIN_UI,
OpenswanPluginUiClass))
#define OPENSWAN_IS_PLUGIN_UI(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), OPENSWAN_TYPE_PLUGIN_UI))
-#define OPENSWAN_IS_PLUGIN_UI_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), OPENSWAN_TYPE_PLUGIN_UI))
+#define OPENSWAN_IS_PLUGIN_UI_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), OPENSWAN_TYPE_PLUGIN_UI))
#define OPENSWAN_PLUGIN_UI_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), OPENSWAN_TYPE_PLUGIN_UI,
OpenswanPluginUiClass))
typedef struct _OpenswanPluginUi OpenswanPluginUi;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]