[gtk/wip/otte/paintable] media file: Add debug spew
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/paintable] media file: Add debug spew
- Date: Sun, 11 Mar 2018 17:40:02 +0000 (UTC)
commit 1928ddf8e3283f30568f5b9fcf1fa6073061ac68
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Mar 6 18:58:21 2018 -0500
media file: Add debug spew
Add the same style of output we have for loading
print backends and input methods.
gtk/gtkmediafile.c | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/gtk/gtkmediafile.c b/gtk/gtkmediafile.c
index 47706a77f7..81c3e65aae 100644
--- a/gtk/gtkmediafile.c
+++ b/gtk/gtkmediafile.c
@@ -604,5 +604,18 @@ gtk_media_file_extension_init (void)
g_type_ensure (GTK_TYPE_GST_MEDIA_FILE);
#endif
g_type_ensure (GTK_TYPE_NO_MEDIA_FILE);
-}
+ 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)));
+ }
+ }
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]