core: fix IP6Config property types to match introspection spec
authorDan Williams <dcbw@redhat.com>
Sun, 18 Apr 2010 18:43:43 +0000 (11:43 -0700)
committerDan Williams <dcbw@redhat.com>
Sun, 18 Apr 2010 18:43:43 +0000 (11:43 -0700)
src/nm-ip6-config.c

index d2a17a0..e3fe92d 100644 (file)
@@ -692,34 +692,33 @@ nm_ip6_config_class_init (NMIP6ConfigClass *config_class)
        object_class->finalize = finalize;
 
        /* properties */
-       g_object_class_install_property
-               (object_class, PROP_ADDRESSES,
-                g_param_spec_boxed (NM_IP6_CONFIG_ADDRESSES,
-                                                       "Addresses",
-                                                       "IP6 addresses",
-                                                       DBUS_TYPE_G_ARRAY_OF_IP6_ADDRESS,
-                                                       G_PARAM_READABLE));
-       g_object_class_install_property
-               (object_class, PROP_NAMESERVERS,
-                g_param_spec_boxed (NM_IP6_CONFIG_NAMESERVERS,
-                                                        "Nameservers",
-                                                        "DNS list",
-                                                        DBUS_TYPE_G_UINT_ARRAY,
-                                                        G_PARAM_READABLE));
-       g_object_class_install_property
-               (object_class, PROP_DOMAINS,
-                g_param_spec_boxed (NM_IP6_CONFIG_DOMAINS,
-                                                        "Domains",
-                                                        "Domains",
-                                                        DBUS_TYPE_G_ARRAY_OF_STRING,
-                                                        G_PARAM_READABLE));
-       g_object_class_install_property
-               (object_class, PROP_ROUTES,
-                g_param_spec_boxed (NM_IP6_CONFIG_ROUTES,
-                                                "Routes",
-                                                "Routes",
-                                                DBUS_TYPE_G_ARRAY_OF_ARRAY_OF_UINT,
-                                                G_PARAM_READABLE));
+       g_object_class_install_property (object_class, PROP_ADDRESSES,
+               g_param_spec_boxed (NM_IP6_CONFIG_ADDRESSES,
+                                   "Addresses",
+                                   "IP6 addresses",
+                                   DBUS_TYPE_G_ARRAY_OF_IP6_ADDRESS,
+                                   G_PARAM_READABLE));
+
+       g_object_class_install_property (object_class, PROP_NAMESERVERS,
+               g_param_spec_boxed (NM_IP6_CONFIG_NAMESERVERS,
+                                   "Nameservers",
+                                   "DNS list",
+                                   DBUS_TYPE_G_ARRAY_OF_ARRAY_OF_UCHAR,
+                                   G_PARAM_READABLE));
+
+       g_object_class_install_property (object_class, PROP_DOMAINS,
+               g_param_spec_boxed (NM_IP6_CONFIG_DOMAINS,
+                                   "Domains",
+                                   "Domains",
+                                   DBUS_TYPE_G_ARRAY_OF_STRING,
+                                   G_PARAM_READABLE));
+
+       g_object_class_install_property (object_class, PROP_ROUTES,
+               g_param_spec_boxed (NM_IP6_CONFIG_ROUTES,
+                                   "Routes",
+                                   "Routes",
+                                   DBUS_TYPE_G_ARRAY_OF_IP6_ROUTE,
+                                   G_PARAM_READABLE));
 
        dbus_g_object_type_install_info (G_TYPE_FROM_CLASS (config_class),
                                                                         &dbus_glib_nm_ip6_config_object_info);