mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 21:50:17 +01:00
2007-11-15 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-device.h libnm-glib/nm-device.c - (nm_device_get_product, nm_device_get_vendor): should be returning const char * git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3092 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
da6ef40b95
commit
441a7ad8fc
3 changed files with 11 additions and 4 deletions
|
|
@ -1,3 +1,10 @@
|
|||
2007-11-15 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* libnm-glib/nm-device.h
|
||||
libnm-glib/nm-device.c
|
||||
- (nm_device_get_product, nm_device_get_vendor): should be returning
|
||||
const char *
|
||||
|
||||
2007-11-15 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* libnm-glib/nm-device.c
|
||||
|
|
|
|||
|
|
@ -383,7 +383,7 @@ nm_device_update_description (NMDevice *device)
|
|||
g_free (pd_parent_udi);
|
||||
}
|
||||
|
||||
char *
|
||||
const char *
|
||||
nm_device_get_product (NMDevice *device)
|
||||
{
|
||||
NMDevicePrivate *priv;
|
||||
|
|
@ -396,7 +396,7 @@ nm_device_get_product (NMDevice *device)
|
|||
return priv->product;
|
||||
}
|
||||
|
||||
char *
|
||||
const char *
|
||||
nm_device_get_vendor (NMDevice *device)
|
||||
{
|
||||
NMDevicePrivate *priv;
|
||||
|
|
|
|||
|
|
@ -44,8 +44,8 @@ guint32 nm_device_get_capabilities (NMDevice *device);
|
|||
guint32 nm_device_get_ip4_address (NMDevice *device);
|
||||
NMIP4Config *nm_device_get_ip4_config (NMDevice *device);
|
||||
NMDeviceState nm_device_get_state (NMDevice *device);
|
||||
char *nm_device_get_product (NMDevice *device);
|
||||
char *nm_device_get_vendor (NMDevice *device);
|
||||
const char *nm_device_get_product (NMDevice *device);
|
||||
const char *nm_device_get_vendor (NMDevice *device);
|
||||
gboolean nm_device_get_carrier (NMDevice *device);
|
||||
|
||||
NMDeviceType nm_device_type_for_path (DBusGConnection *connection,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue