aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-sms-properties.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmm-glib/mm-sms-properties.c')
-rw-r--r--libmm-glib/mm-sms-properties.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libmm-glib/mm-sms-properties.c b/libmm-glib/mm-sms-properties.c
index 93e8b9b5..da4aa804 100644
--- a/libmm-glib/mm-sms-properties.c
+++ b/libmm-glib/mm-sms-properties.c
@@ -322,18 +322,18 @@ mm_sms_properties_get_validity_relative (MMSmsProperties *self)
/**
* mm_sms_properties_set_class:
* @self: A #MMSmsProperties.
- * @class: The message class (0..3), or -1 for invalid/unset class.
+ * @message_class: The message class (0..3), or -1 for invalid/unset class.
*
* Sets the 3GPP message class of the SMS.
*/
void
mm_sms_properties_set_class (MMSmsProperties *self,
- gint class)
+ gint message_class)
{
g_return_if_fail (MM_IS_SMS_PROPERTIES (self));
- g_return_if_fail (class >= -1 && class <= 3);
+ g_return_if_fail (message_class >= -1 && message_class <= 3);
- self->priv->class = class;
+ self->priv->class = message_class;
}
/**