1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2025-01-05 19:15:32 +00:00

mm-call: Guard public API

This commit is contained in:
Evangelos Ribeiro Tzaras 2023-01-18 21:25:39 +01:00
parent 9ee436135f
commit 1793035683

View file

@ -413,6 +413,8 @@ calls_mm_call_new (MMCall *mm_call)
const char *
calls_mm_call_get_object_path (CallsMMCall *call)
{
g_return_val_if_fail (CALLS_IS_MM_CALL (call), NULL);
return mm_call_get_path (call->mm_call);
}
@ -420,5 +422,7 @@ calls_mm_call_get_object_path (CallsMMCall *call)
const char *
calls_mm_call_get_disconnect_reason (CallsMMCall *call)
{
g_return_val_if_fail (CALLS_IS_MM_CALL (call), NULL);
return call->disconnect_reason;
}