diff options
author | Bastien Nocera <hadess@hadess.net> | 2017-08-28 14:28:06 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2017-08-28 14:28:06 +0200 |
commit | 3ca0fd8266be73346bac5cacb5e4e20500578b03 (patch) | |
tree | 4623108cab8a81d72b71a1f25c6dac6b30095db5 /libgnome-desktop/gnome-desktop-thumbnail-script.c | |
parent | 69c4e2ed0079db37f14d9c08238ab0f317c9922a (diff) | |
download | gnome-desktop-3ca0fd8266be73346bac5cacb5e4e20500578b03.tar.gz |
thumbnail: Add debug for thumbnailers
Pass G_MESSAGES_DEBUG=all to thumbnailers if the debug is enabled.
Diffstat (limited to 'libgnome-desktop/gnome-desktop-thumbnail-script.c')
-rw-r--r-- | 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 82fdf722..52dbf7b8 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 && |