From 1c0b400fa7200fb60d918328451def2e384fca58 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 17 Oct 2019 09:11:44 +0200 Subject: [PATCH] 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') (cherry picked from commit 389c2ebe8a39368ea954e6cb5bf994396a7691b8) --- libnm/nm-device-modem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libnm/nm-device-modem.c b/libnm/nm-device-modem.c index 60c707b80c..fa260810b6 100644 --- a/libnm/nm-device-modem.c +++ b/libnm/nm-device-modem.c @@ -335,7 +335,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 | @@ -347,7 +347,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 | @@ -359,7 +359,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 |