diff options
author | Dan Williams <dcbw@redhat.com> | 2010-11-08 10:24:26 -0600 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-11-08 10:24:26 -0600 |
commit | d2ab1d7f781acaa542cd763215be5bcf752be1eb (patch) | |
tree | d63f261b542e4544b5f44b7c07de0e83e1db9c04 | |
parent | 3c13d9aec86a310f7ac9ed2fef58500d5a3a720a (diff) |
gsm: fix up USSD property exports
If the base class advertises that it implements an interface, it
really does need to implement all that interface's properties too.
Otherwise dbus-glib gets mad and can't look up the property information
for D-Bus Introspection.
-rw-r--r-- | src/mm-generic-gsm.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mm-generic-gsm.c b/src/mm-generic-gsm.c index 20e26c25..557c62ca 100644 --- a/src/mm-generic-gsm.c +++ b/src/mm-generic-gsm.c @@ -4788,6 +4788,18 @@ mm_generic_gsm_class_init (MMGenericGsmClass *klass) MM_GENERIC_GSM_PROP_LOC_LOCATION, MM_MODEM_LOCATION_LOCATION); + g_object_class_override_property (object_class, + MM_GENERIC_GSM_PROP_USSD_STATE, + MM_MODEM_GSM_USSD_STATE); + + g_object_class_override_property (object_class, + MM_GENERIC_GSM_PROP_USSD_NETWORK_NOTIFICATION, + MM_MODEM_GSM_USSD_NETWORK_NOTIFICATION); + + g_object_class_override_property (object_class, + MM_GENERIC_GSM_PROP_USSD_NETWORK_REQUEST, + MM_MODEM_GSM_USSD_NETWORK_REQUEST); + g_object_class_install_property (object_class, MM_GENERIC_GSM_PROP_POWER_UP_CMD, g_param_spec_string (MM_GENERIC_GSM_POWER_UP_CMD, |