aboutsummaryrefslogtreecommitdiff
path: root/src/mm-call-at.c
diff options
context:
space:
mode:
authorDan Williams <dan@ioncontrol.co>2025-04-26 06:21:20 -0500
committerDan Williams <dan@ioncontrol.co>2025-05-30 07:57:50 -0500
commitb9c49c7b4dd93d3f66f27cc13110ba672f7862df (patch)
tree9245da0296e884e49d9f51a1411c88d101447221 /src/mm-call-at.c
parent8392f30388b04cd0ab8fd41bca9d7788249c1c1b (diff)
base-call: remove usage of MMBaseModem
Split out the things we actually use from MMBaseModem into separate properties that can be independently implemented (or just left NULL) for unit tests. Signed-off-by: Dan Williams <dan@ioncontrol.co>
Diffstat (limited to 'src/mm-call-at.c')
-rw-r--r--src/mm-call-at.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mm-call-at.c b/src/mm-call-at.c
index 65cb3b7e..88bcb349 100644
--- a/src/mm-call-at.c
+++ b/src/mm-call-at.c
@@ -370,10 +370,10 @@ mm_call_at_new (MMBaseModem *modem,
MMBaseCall *call;
call = MM_BASE_CALL (g_object_new (MM_TYPE_CALL_AT,
- MM_BASE_CALL_MODEM, modem,
- MM_BIND_TO, bind_to,
- "direction", direction,
- "number", number,
+ MM_BASE_CALL_IFACE_MODEM_VOICE, modem,
+ MM_BIND_TO, bind_to,
+ "direction", direction,
+ "number", number,
MM_BASE_CALL_SKIP_INCOMING_TIMEOUT, skip_incoming_timeout,
MM_BASE_CALL_SUPPORTS_DIALING_TO_RINGING, supports_dialing_to_ringing,
MM_BASE_CALL_SUPPORTS_RINGING_TO_ACTIVE, supports_ringing_to_active,