mm: call: Use correct enum type
They both have the same value (=0), and things worked because of implicit conversion, but was still confusing and technically wrong.
This commit is contained in:
@@ -273,7 +273,7 @@ constructed (GObject *object)
|
|||||||
|
|
||||||
state = mm_call_get_state (self->mm_call);
|
state = mm_call_get_state (self->mm_call);
|
||||||
state_changed_cb (self,
|
state_changed_cb (self,
|
||||||
MM_MODEM_STATE_UNKNOWN,
|
MM_CALL_STATE_UNKNOWN,
|
||||||
state,
|
state,
|
||||||
mm_call_get_state_reason (self->mm_call));
|
mm_call_get_state_reason (self->mm_call));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user