From d2ab1d7f781acaa542cd763215be5bcf752be1eb Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Mon, 8 Nov 2010 10:24:26 -0600 Subject: 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. --- src/mm-generic-gsm.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src') 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, -- cgit v1.2.3-70-g09d2