mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-07 12:25:31 +00:00
plugin-manager: Add debugging to init()
This commit is contained in:
parent
34a6c02754
commit
6987d0f1e3
1 changed files with 8 additions and 1 deletions
|
@ -240,7 +240,12 @@ calls_plugin_manager_init (CallsPluginManager *self)
|
|||
self->providers = g_list_store_new (CALLS_TYPE_PROVIDER);
|
||||
|
||||
for (const GList *node = peas_engine_get_plugin_list (self->plugin_engine); node; node = node->next) {
|
||||
CallsPlugin *plugin = calls_plugin_new (node->data);
|
||||
PeasPluginInfo *info = node->data;
|
||||
CallsPlugin *plugin = calls_plugin_new (info);
|
||||
|
||||
g_debug ("Created plugin '%s', found in '%s'",
|
||||
peas_plugin_info_get_module_name (info),
|
||||
peas_plugin_info_get_module_dir (info));
|
||||
|
||||
g_signal_connect_object (plugin,
|
||||
"notify::loaded",
|
||||
|
@ -250,6 +255,8 @@ calls_plugin_manager_init (CallsPluginManager *self)
|
|||
|
||||
g_list_store_append (self->plugins, plugin);
|
||||
}
|
||||
|
||||
g_debug ("Created %d plugins", g_list_model_get_n_items (G_LIST_MODEL (self->plugins)));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue