1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-12 07:37:35 +00:00

manager: g_assert in static functions

This commit is contained in:
Evangelos Ribeiro Tzaras 2021-04-14 16:05:40 +02:00
parent c2c3f64102
commit d0194fe534

View file

@ -146,7 +146,9 @@ ussd_state_changed_cb (CallsManager *self,
static void
add_origin (CallsManager *self, CallsOrigin *origin, CallsProvider *provider)
{
g_return_if_fail (CALLS_IS_ORIGIN (origin));
g_assert (CALLS_IS_MANAGER (self));
g_assert (CALLS_IS_ORIGIN (origin));
g_assert (CALLS_IS_PROVIDER (provider));
g_signal_connect_swapped (origin, "call-added", G_CALLBACK (add_call), self);
g_signal_connect_swapped (origin, "call-removed", G_CALLBACK (remove_call), self);