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

@@ -546,7 +546,7 @@ calls_ofono_provider_init (CallsOfonoProvider *self)
self->status = g_strdup (_("Initialised"));
self->modems = g_hash_table_new_full (g_str_hash, g_str_equal,
g_free, g_object_unref);
self->origins = g_list_store_new (CALLS_TYPE_OFONO_ORIGIN);
self->origins = g_list_store_new (CALLS_TYPE_ORIGIN);
}