aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2011-01-01 17:47:40 -0600
committerDan Williams <dcbw@redhat.com>2011-01-01 17:47:40 -0600
commitceb5cc29d6be2133c5e6ff428477e8da0422e8a2 (patch)
tree416c31c3fdaedff6a50a3dc77aa714125ce4e8aa
parentaf9adab9cd6a4f8455d5a32fd232ede011a94713 (diff)
core: signal property changes for IpMethod
If the modem's IP Method changes after construction because the modem's full capabilities were only discovered after it was created, make sure the change notification gets emitted.
-rw-r--r--src/mm-modem-base.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mm-modem-base.c b/src/mm-modem-base.c
index 50088fb5..ec0fd979 100644
--- a/src/mm-modem-base.c
+++ b/src/mm-modem-base.c
@@ -626,6 +626,10 @@ mm_modem_base_init (MMModemBase *self)
MM_MODEM_UNLOCK_RETRIES,
NULL,
MM_MODEM_DBUS_INTERFACE);
+ mm_properties_changed_signal_register_property (G_OBJECT (self),
+ MM_MODEM_IP_METHOD,
+ NULL,
+ MM_MODEM_DBUS_INTERFACE);
}
static void