[gimp] app: better temporary debug output in gimp_display_shell_profile_update()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: better temporary debug output in gimp_display_shell_profile_update()
- Date: Wed, 9 Sep 2015 19:10:00 +0000 (UTC)
commit 396bc89e5685142fda1a6879c37ea0d948d477e8
Author: Michael Natterer <mitch gimp org>
Date: Wed Sep 9 21:09:31 2015 +0200
app: better temporary debug output in gimp_display_shell_profile_update()
app/display/gimpdisplayshell-profile.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-profile.c b/app/display/gimpdisplayshell-profile.c
index cda711b..83c2e98 100644
--- a/app/display/gimpdisplayshell-profile.c
+++ b/app/display/gimpdisplayshell-profile.c
@@ -105,8 +105,12 @@ gimp_display_shell_profile_update (GimpDisplayShell *shell)
dest_format = babl_format ("R'G'B'A u8");
}
- g_printerr ("src_format: %s\n", babl_get_name (src_format));
- g_printerr ("dest_format: %s\n", babl_get_name (dest_format));
+ g_printerr ("src_profile: %s\n"
+ "src_format: %s\n"
+ "dest_format: %s\n",
+ gimp_color_profile_get_label (src_profile),
+ babl_get_name (dest_format),
+ babl_get_name (dest_format));
shell->profile_transform =
gimp_widget_get_color_transform (gtk_widget_get_toplevel (GTK_WIDGET (shell)),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]