2007-09-25 Dan Williams <dcbw@redhat.com>
* introspection/nm-device.xml libnm-glib/nm-device.c libnm-glib/nm-device.h - Add 'Carrier' property to exported NMDevice objects * src/nm-device-interface.h src/nm-device-interface.c src/nm-device.c - Add a 'carrier' property to internal NMDevice objects git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2884 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -124,6 +124,14 @@ nm_device_interface_init (gpointer g_iface)
|
||||
0, G_MAXUINT32, DEVICE_TYPE_UNKNOWN,
|
||||
G_PARAM_READABLE));
|
||||
|
||||
g_object_interface_install_property
|
||||
(g_iface,
|
||||
g_param_spec_boolean (NM_DEVICE_INTERFACE_CARRIER,
|
||||
"Carrier",
|
||||
"Carrier",
|
||||
FALSE,
|
||||
G_PARAM_READABLE));
|
||||
|
||||
/* Signals */
|
||||
g_signal_new ("state-changed",
|
||||
iface_type,
|
||||
|
Reference in New Issue
Block a user