mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-07 12:25:31 +00:00
manager: codestyle
This commit is contained in:
parent
ddcd91d3d9
commit
ccae753194
1 changed files with 5 additions and 6 deletions
|
@ -393,13 +393,12 @@ remove_provider (CallsManager *self,
|
||||||
g_signal_handlers_disconnect_by_data (origins, self);
|
g_signal_handlers_disconnect_by_data (origins, self);
|
||||||
n_items = g_list_model_get_n_items (origins);
|
n_items = g_list_model_get_n_items (origins);
|
||||||
|
|
||||||
for (guint i = 0; i < n_items; i++)
|
for (guint i = 0; i < n_items; i++) {
|
||||||
{
|
g_autoptr(CallsOrigin) origin = NULL;
|
||||||
g_autoptr(CallsOrigin) origin = NULL;
|
|
||||||
|
|
||||||
origin = g_list_model_get_item (origins, i);
|
origin = g_list_model_get_item (origins, i);
|
||||||
remove_origin (self, origin);
|
remove_origin (self, origin);
|
||||||
}
|
}
|
||||||
|
|
||||||
g_hash_table_remove (self->providers, name);
|
g_hash_table_remove (self->providers, name);
|
||||||
calls_provider_unload_plugin (name);
|
calls_provider_unload_plugin (name);
|
||||||
|
|
Loading…
Reference in a new issue