Add some debug output to print backend loading

This commit is contained in:
Matthias Clasen 2018-02-24 00:44:21 -05:00
parent ab322e33aa
commit 79bd123911

View File

@ -105,6 +105,20 @@ gtk_print_backends_init (void)
g_strfreev (paths);
g_io_module_scope_free (scope);
if (GTK_DEBUG_CHECK (MODULES))
{
GList *list, *l;
list = g_io_extension_point_get_extensions (ep);
for (l = list; l; l = l->next)
{
GIOExtension *ext = l->data;
g_print ("extension: %s: type %s\n",
g_io_extension_get_name (ext),
g_type_name (g_io_extension_get_type (ext)));
}
}
}
/**