2008-10-06 Dan Williams <dcbw@redhat.com>
* src/nm-ip4-config.c src/nm-ip4-config.h - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path * src/nm-device-interface.c - (nm_device_interface_init): make 'ip4-config' a boxed property of type DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to by using '/' for the object path * src/nm-device.c - (src/nm-device.c): marshal missing/unexported ip4-config through dbus as '/' since dbus-glib can't handle NULL objects nor can dbus handle NULL object paths git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4152 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -90,10 +90,10 @@ nm_device_interface_init (gpointer g_iface)
|
||||
|
||||
g_object_interface_install_property
|
||||
(g_iface,
|
||||
g_param_spec_object (NM_DEVICE_INTERFACE_IP4_CONFIG,
|
||||
g_param_spec_boxed (NM_DEVICE_INTERFACE_IP4_CONFIG,
|
||||
"IP4 Config",
|
||||
"IP4 Config",
|
||||
G_TYPE_OBJECT,
|
||||
DBUS_TYPE_G_OBJECT_PATH,
|
||||
G_PARAM_READWRITE));
|
||||
|
||||
g_object_interface_install_property
|
||||
|
Reference in New Issue
Block a user