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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user