[gnome-desktop] thumbnail: Add debug for thumbnailers
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-desktop] thumbnail: Add debug for thumbnailers
- Date: Mon, 28 Aug 2017 12:45:34 +0000 (UTC)
commit 3ca0fd8266be73346bac5cacb5e4e20500578b03
Author: Bastien Nocera <hadess hadess net>
Date: Mon Aug 28 14:28:06 2017 +0200
thumbnail: Add debug for thumbnailers
Pass G_MESSAGES_DEBUG=all to thumbnailers if the debug is enabled.
libgnome-desktop/gnome-desktop-thumbnail-script.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/libgnome-desktop/gnome-desktop-thumbnail-script.c
b/libgnome-desktop/gnome-desktop-thumbnail-script.c
index 82fdf72..52dbf7b 100644
--- a/libgnome-desktop/gnome-desktop-thumbnail-script.c
+++ b/libgnome-desktop/gnome-desktop-thumbnail-script.c
@@ -518,6 +518,12 @@ add_bwrap (GPtrArray *array,
"--die-with-parent",
NULL);
+#if 0
+ add_args (array,
+ "--setenv", "G_MESSAGES_DEBUG", "all",
+ NULL);
+#endif
+
/* Add gnome-desktop's install prefix if needed */
if (g_strcmp0 (INSTALL_PREFIX, "") != 0 &&
g_strcmp0 (INSTALL_PREFIX, "/usr") != 0 &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]