diff options
author | Matthias Clasen <mclasen@redhat.com> | 2018-02-24 00:44:21 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2018-02-24 21:31:52 -0500 |
commit | 79bd12391191e096c68b6b6977e2bd44cee9ee13 (patch) | |
tree | a5bd8d574e4c0e36fcb601f120a87afa18991970 /gtk/gtkprintbackend.c | |
parent | ab322e33aa1e23f569c4427a6ba55dbcacb265c5 (diff) | |
download | gtk+-79bd12391191e096c68b6b6977e2bd44cee9ee13.tar.gz |
Add some debug output to print backend loading
Diffstat (limited to 'gtk/gtkprintbackend.c')
-rw-r--r-- | gtk/gtkprintbackend.c | 14 |
1 files changed, 14 insertions, 0 deletions
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))); + } + } } /** |