diff --git a/src/calls-account-row.c b/src/calls-account-row.c index a2709bd..ef1a1de 100644 --- a/src/calls-account-row.c +++ b/src/calls-account-row.c @@ -217,6 +217,7 @@ calls_account_row_new (CallsAccountProvider *provider, CallsAccount *account) { g_return_val_if_fail (CALLS_IS_ACCOUNT (account), NULL); + g_return_val_if_fail (CALLS_IS_ACCOUNT_PROVIDER (provider), NULL); return g_object_new (CALLS_TYPE_ACCOUNT_ROW, "provider", provider,