[gimp] app: update the display profile transform when display filter change



commit 8ded5c40e3ee4231bf167f5d9b592a32eda15339
Author: Michael Natterer <mitch gimp org>
Date:   Wed May 27 12:29:42 2015 +0200

    app: update the display profile transform when display filter change
    
    because they will share buffers.

 app/display/gimpdisplayshell-filter.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-filter.c b/app/display/gimpdisplayshell-filter.c
index 1ec53fb..47f7015 100644
--- a/app/display/gimpdisplayshell-filter.c
+++ b/app/display/gimpdisplayshell-filter.c
@@ -30,6 +30,7 @@
 #include "gimpdisplayshell.h"
 #include "gimpdisplayshell-expose.h"
 #include "gimpdisplayshell-filter.h"
+#include "gimpdisplayshell-profile.h"
 
 
 /*  local function prototypes  */
@@ -114,7 +115,9 @@ gimp_display_shell_filter_changed_idle (gpointer data)
 {
   GimpDisplayShell *shell = data;
 
+  gimp_display_shell_profile_update (shell);
   gimp_display_shell_expose_full (shell);
+
   shell->filter_idle_id = 0;
 
   return FALSE;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]