aboutsummaryrefslogtreecommitdiff
path: root/src/mm-base-modem.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2016-09-22 19:58:08 +0200
committerAleksander Morgado <aleksander@aleksander.es>2016-09-22 19:59:10 +0200
commitdd98454a7ddeac98011cb1ed82be4cff588044a3 (patch)
treee99e4e5e57d7dcbb3a73f0d33b6cd540eddf2936 /src/mm-base-modem.c
parent2a499f5557fbc1726d4e8d5b39c7c59edf00bdbe (diff)
base-modem: add missing 'reprobe' property setup
The sim hotswap logic likely just uses the getter/setter methods, but we should anyway fix the property definition bits.
Diffstat (limited to 'src/mm-base-modem.c')
-rw-r--r--src/mm-base-modem.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mm-base-modem.c b/src/mm-base-modem.c
index 5b7a2570..2dc00ce7 100644
--- a/src/mm-base-modem.c
+++ b/src/mm-base-modem.c
@@ -1538,4 +1538,12 @@ mm_base_modem_class_init (MMBaseModemClass *klass)
G_TYPE_DBUS_CONNECTION,
G_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_CONNECTION, properties[PROP_CONNECTION]);
+
+ properties[PROP_REPROBE] =
+ g_param_spec_boolean (MM_BASE_MODEM_REPROBE,
+ "Reprobe",
+ "Whether the modem needs to be reprobed or not.",
+ FALSE,
+ G_PARAM_READWRITE);
+ g_object_class_install_property (object_class, PROP_REPROBE, properties[PROP_REPROBE]);
}