aboutsummaryrefslogtreecommitdiff
path: root/plugins/mm-modem-nokia.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mm-modem-nokia.c')
-rw-r--r--plugins/mm-modem-nokia.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/mm-modem-nokia.c b/plugins/mm-modem-nokia.c
index f449dfd4..16784cb2 100644
--- a/plugins/mm-modem-nokia.c
+++ b/plugins/mm-modem-nokia.c
@@ -84,6 +84,15 @@ mm_modem_nokia_init (MMModemNokia *self)
}
static void
+set_property (GObject *object, guint prop_id,
+ const GValue *value, GParamSpec *pspec)
+{
+ /* gobject does not like to just have get_property and seems to
+ * to not honour our overriden properties ... keep this as an empty
+ * func around */
+}
+
+static void
get_property (GObject *object, guint prop_id,
GValue *value, GParamSpec *pspec)
{
@@ -116,6 +125,7 @@ mm_modem_nokia_class_init (MMModemNokiaClass *klass)
mm_modem_nokia_parent_class = g_type_class_peek_parent (klass);
object_class->get_property = get_property;
+ object_class->set_property = set_property;
g_object_class_override_property (object_class,
MM_GENERIC_GSM_PROP_POWER_UP_CMD,