[calls] mm: call: Use correct enum type
- From: Evangelos Ribeiro Tzaras <devrtz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [calls] mm: call: Use correct enum type
- Date: Mon, 20 Jun 2022 13:37:37 +0000 (UTC)
commit 07aa990601e6647a68e2aaf712a89569207e0c15
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date: Sun Jun 19 17:22:27 2022 +0200
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 bfe15e61..121c40f8 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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]