diff options
author | Nathan Williams <njw@google.com> | 2012-01-21 11:16:22 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:55 +0100 |
commit | 418e0ac5596bc305c3806f4f85a0d94a2077de74 (patch) | |
tree | f0757804c2e8e05020c5b30d79f014c869e5d606 /libmm-common/mm-common-simple-properties.c | |
parent | 4aeadbb7765e3b55c0bcfbeb13f5fd3b3e721e40 (diff) |
libmm-common: CDMA sid/nid are uint, not enum
Diffstat (limited to 'libmm-common/mm-common-simple-properties.c')
-rw-r--r-- | libmm-common/mm-common-simple-properties.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libmm-common/mm-common-simple-properties.c b/libmm-common/mm-common-simple-properties.c index 5c5d100f..023ce285 100644 --- a/libmm-common/mm-common-simple-properties.c +++ b/libmm-common/mm-common-simple-properties.c @@ -356,10 +356,10 @@ set_property (GObject *object, self->priv->modem_cdma_evdo_registration_state = g_value_get_enum (value); break; case PROP_CDMA_SID: - self->priv->modem_cdma_sid = g_value_get_enum (value); + self->priv->modem_cdma_sid = g_value_get_uint (value); break; case PROP_CDMA_NID: - self->priv->modem_cdma_nid = g_value_get_enum (value); + self->priv->modem_cdma_nid = g_value_get_uint (value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); @@ -404,10 +404,10 @@ get_property (GObject *object, g_value_set_enum (value, self->priv->modem_cdma_evdo_registration_state); break; case PROP_CDMA_SID: - g_value_set_enum (value, self->priv->modem_cdma_sid); + g_value_set_uint (value, self->priv->modem_cdma_sid); break; case PROP_CDMA_NID: - g_value_set_enum (value, self->priv->modem_cdma_nid); + g_value_set_uint (value, self->priv->modem_cdma_nid); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); |