From 07aa990601e6647a68e2aaf712a89569207e0c15 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Sun, 19 Jun 2022 17:22:27 +0200 Subject: [PATCH] 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. --- plugins/mm/calls-mm-call.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mm/calls-mm-call.c b/plugins/mm/calls-mm-call.c index bfe15e6..121c40f 100644 --- a/plugins/mm/calls-mm-call.c +++ b/plugins/mm/calls-mm-call.c @@ -273,7 +273,7 @@ constructed (GObject *object) state = mm_call_get_state (self->mm_call); state_changed_cb (self, - MM_MODEM_STATE_UNKNOWN, + MM_CALL_STATE_UNKNOWN, state, mm_call_get_state_reason (self->mm_call));