From b9c49c7b4dd93d3f66f27cc13110ba672f7862df Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Sat, 26 Apr 2025 06:21:20 -0500 Subject: 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 --- src/mm-call-at.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mm-call-at.c') 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, -- cgit v1.2.3-70-g09d2