summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2016-10-13 12:08:21 +0200
committerAleksander Morgado <aleksander@aleksander.es>2016-10-13 12:08:49 +0200
commitbbb4df556080514a801a0f43d80198cb22cdb922 (patch)
tree83c2fe3d147eccd3e10e5fd8b4276568add9521c
parent56ab98f0d29567fa569a386f1f5a907074a80984 (diff)
libmm-glib,call-properties: fix wrong enum returned
https://bugs.freedesktop.org/show_bug.cgi?id=98220 (cherry picked from commit 17a90b8fa64ebaef1422b972000f321107977e81)
-rw-r--r--libmm-glib/mm-call-properties.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmm-glib/mm-call-properties.c b/libmm-glib/mm-call-properties.c
index cc83060e..04f4a61a 100644
--- a/libmm-glib/mm-call-properties.c
+++ b/libmm-glib/mm-call-properties.c
@@ -180,7 +180,7 @@ mm_call_properties_set_state_reason (MMCallProperties *self,
MMCallStateReason
mm_call_properties_get_state_reason (MMCallProperties *self)
{
- g_return_val_if_fail (MM_IS_CALL_PROPERTIES (self), MM_CALL_STATE_UNKNOWN);
+ g_return_val_if_fail (MM_IS_CALL_PROPERTIES (self), MM_CALL_STATE_REASON_UNKNOWN);
return self->priv->state_reason;
}