2007-09-11 Dan Williams <dcbw@redhat.com>

* src/nm-device-802-11-wireless.c
		- (nm_device_802_11_wireless_new): s/index/idx, stupid system header
			somewhere defines 'index' and I missed this one when I fixed the
			shadow declaration errors earlier



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2786 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2007-09-11 19:21:51 +00:00
parent 82fd08b4f8
commit 3884f45949
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2007-09-11 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c
- (nm_device_802_11_wireless_new): s/index/idx, stupid system header
somewhere defines 'index' and I missed this one when I fixed the
shadow declaration errors earlier
2007-09-11 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-connection.c

View file

@ -2928,13 +2928,13 @@ nm_device_802_11_wireless_new (int idx,
{
GObject *obj;
g_return_val_if_fail (index >= 0, NULL);
g_return_val_if_fail (idx >= 0, NULL);
g_return_val_if_fail (udi != NULL, NULL);
g_return_val_if_fail (driver != NULL, NULL);
obj = g_object_new (NM_TYPE_DEVICE_802_11_WIRELESS,
NM_DEVICE_INTERFACE_UDI, udi,
NM_DEVICE_INTERFACE_INDEX, index,
NM_DEVICE_INTERFACE_INDEX, idx,
NM_DEVICE_INTERFACE_DRIVER, driver,
NULL);
if (obj == NULL)