plugins: provider: Use CallsOrigin instead of derived types for GListStore

Otherwise we run into trouble when using `g_list_store_find()`
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-05-13 18:19:21 +02:00
parent 80ec7d8a35
commit 1def4c3585
4 changed files with 4 additions and 4 deletions

View File

@@ -416,7 +416,7 @@ calls_sip_provider_init (CallsSipProvider *self)
self->credentials =
g_hash_table_new_full (NULL, NULL, g_object_unref, g_object_unref);
self->origins = g_list_store_new (CALLS_TYPE_SIP_ORIGIN);
self->origins = g_list_store_new (CALLS_TYPE_ORIGIN);
if (filename_env && filename_env[0] != '\0')
self->filename = g_strdup (filename_env);