From 9c202e3e860b3be9e1f8882630b69affbb130102 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sun, 3 Feb 2013 14:49:22 +0100 Subject: Imported Upstream version 0.9.7.995 --- libnm-util/nm-setting-wimax.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'libnm-util/nm-setting-wimax.c') diff --git a/libnm-util/nm-setting-wimax.c b/libnm-util/nm-setting-wimax.c index a099cad20..b4a0d418f 100644 --- a/libnm-util/nm-setting-wimax.c +++ b/libnm-util/nm-setting-wimax.c @@ -26,6 +26,7 @@ #include "nm-setting-wimax.h" #include "nm-param-spec-specialized.h" +#include "nm-setting-private.h" /** * SECTION:nm-setting-wimax @@ -54,7 +55,12 @@ nm_setting_wimax_error_quark (void) } -G_DEFINE_TYPE (NMSettingWimax, nm_setting_wimax, NM_TYPE_SETTING) +G_DEFINE_TYPE_WITH_CODE (NMSettingWimax, nm_setting_wimax, NM_TYPE_SETTING, + _nm_register_setting (NM_SETTING_WIMAX_SETTING_NAME, + g_define_type_id, + 1, + NM_SETTING_WIMAX_ERROR)) +NM_SETTING_REGISTER_TYPE (NM_TYPE_SETTING_WIMAX) #define NM_SETTING_WIMAX_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), NM_TYPE_SETTING_WIMAX, NMSettingWimaxPrivate)) -- cgit v1.2.3