2008-08-07 Dan Williams <dcbw@redhat.com>
* include/NetworkManager.h - Add the DHCP4Config D-Bus interface * libnm-glib/Makefile.am libnm-glib/nm-dhcp4-config.c libnm-glib/nm-dhcp4-config.h - Handle DHCP4 config objects exported by NM over D-Bus * libnm-glib/nm-device.c libnm-glib/nm-device.h - Add a 'dhcp4-config' property * libnm-glib/libnm-glib-test.c - Print out DHCP4 config for devices - Fix some crashes when no connections are active * src/nm-device-interface.c src/nm-device.c src/nm-dhcp4-config.c src/nm-dhcp4-config.h - Treat dhcp4-config object as an object path at the D-Bus interface so that when it doesn't exist we can proxy it as "/" which dbus-glib doesn't let us do when the property type is G_TYPE_OBJECT git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3905 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -98,10 +98,10 @@ nm_device_interface_init (gpointer g_iface)
|
||||
|
||||
g_object_interface_install_property
|
||||
(g_iface,
|
||||
g_param_spec_object (NM_DEVICE_INTERFACE_DHCP4_CONFIG,
|
||||
g_param_spec_boxed (NM_DEVICE_INTERFACE_DHCP4_CONFIG,
|
||||
"DHCP4 Config",
|
||||
"DHCP4 Config",
|
||||
G_TYPE_OBJECT,
|
||||
DBUS_TYPE_G_OBJECT_PATH,
|
||||
G_PARAM_READWRITE));
|
||||
|
||||
g_object_interface_install_property
|
||||
|
Reference in New Issue
Block a user