mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 04:50:30 +01:00
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:
parent
82fd08b4f8
commit
3884f45949
2 changed files with 9 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue