From 79bd12391191e096c68b6b6977e2bd44cee9ee13 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 24 Feb 2018 00:44:21 -0500 Subject: Add some debug output to print backend loading --- gtk/gtkprintbackend.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'gtk/gtkprintbackend.c') diff --git a/gtk/gtkprintbackend.c b/gtk/gtkprintbackend.c index 85341e81ba..0400100677 100644 --- a/gtk/gtkprintbackend.c +++ b/gtk/gtkprintbackend.c @@ -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))); + } + } } /** -- cgit v1.2.1