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:
parent
c2c3f64102
commit
d0194fe534
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue