summaryrefslogtreecommitdiff
path: root/libnm/nm-device-modem.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-10-17 09:11:44 +0200
committerThomas Haller <thaller@redhat.com>2019-10-18 22:09:18 +0200
commit389c2ebe8a39368ea954e6cb5bf994396a7691b8 (patch)
tree87caf1240e1aa7719326aac79723e859db92b55f /libnm/nm-device-modem.c
parent57c1b03c5cece6dc3ad36a66561881e2047ede53 (diff)
downloadNetworkManager-389c2ebe8a39368ea954e6cb5bf994396a7691b8.tar.gz
libnm: fix GObject properties of "NMDeviceModem"
Fixes: f18b09b3f695 ('libnm/modem: add device id getter') Fixes: 0b3dd18c2bb4 ('libnm/modem: add network id getter') Fixes: 8e270de05e64 ('libnm/modem: add APN getter')
Diffstat (limited to 'libnm/nm-device-modem.c')
-rw-r--r--libnm/nm-device-modem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libnm/nm-device-modem.c b/libnm/nm-device-modem.c
index 73a5e966a4..04b3be769d 100644
--- a/libnm/nm-device-modem.c
+++ b/libnm/nm-device-modem.c
@@ -321,7 +321,7 @@ nm_device_modem_class_init (NMDeviceModemClass *modem_class)
* Since: 1.20
**/
g_object_class_install_property
- (object_class, PROP_CURRENT_CAPS,
+ (object_class, PROP_DEVICE_ID,
g_param_spec_string (NM_DEVICE_MODEM_DEVICE_ID, "", "",
NULL,
G_PARAM_READABLE |
@@ -333,7 +333,7 @@ nm_device_modem_class_init (NMDeviceModemClass *modem_class)
* Since: 1.20
**/
g_object_class_install_property
- (object_class, PROP_CURRENT_CAPS,
+ (object_class, PROP_OPERATOR_CODE,
g_param_spec_string (NM_DEVICE_MODEM_OPERATOR_CODE, "", "",
NULL,
G_PARAM_READABLE |
@@ -345,7 +345,7 @@ nm_device_modem_class_init (NMDeviceModemClass *modem_class)
* Since: 1.20
**/
g_object_class_install_property
- (object_class, PROP_CURRENT_CAPS,
+ (object_class, PROP_APN,
g_param_spec_string (NM_DEVICE_MODEM_APN, "", "",
NULL,
G_PARAM_READABLE |