summaryrefslogtreecommitdiff
path: root/src/devices/wwan/nm-modem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/wwan/nm-modem.c')
-rw-r--r--src/devices/wwan/nm-modem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/wwan/nm-modem.c b/src/devices/wwan/nm-modem.c
index 0237c3a751..491334d202 100644
--- a/src/devices/wwan/nm-modem.c
+++ b/src/devices/wwan/nm-modem.c
@@ -1690,7 +1690,7 @@ constructed (GObject *object)
priv = NM_MODEM_GET_PRIVATE (NM_MODEM (object));
- g_return_if_fail (priv->data_port || priv->control_port);
+ g_return_if_fail (priv->control_port);
}
/*****************************************************************************/
@@ -1767,7 +1767,7 @@ nm_modem_class_init (NMModemClass *klass)
obj_properties[PROP_DATA_PORT] =
g_param_spec_string (NM_MODEM_DATA_PORT, "", "",
NULL,
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
+ G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS);
obj_properties[PROP_IP_IFINDEX] =