app: update the display profile transform when display filter change

because they will share buffers.
This commit is contained in:
Michael Natterer
2015-05-27 12:29:42 +02:00
parent 3267218143
commit 8ded5c40e3

View File

@ -30,6 +30,7 @@
#include "gimpdisplayshell.h" #include "gimpdisplayshell.h"
#include "gimpdisplayshell-expose.h" #include "gimpdisplayshell-expose.h"
#include "gimpdisplayshell-filter.h" #include "gimpdisplayshell-filter.h"
#include "gimpdisplayshell-profile.h"
/* local function prototypes */ /* local function prototypes */
@ -114,7 +115,9 @@ gimp_display_shell_filter_changed_idle (gpointer data)
{ {
GimpDisplayShell *shell = data; GimpDisplayShell *shell = data;
gimp_display_shell_profile_update (shell);
gimp_display_shell_expose_full (shell); gimp_display_shell_expose_full (shell);
shell->filter_idle_id = 0; shell->filter_idle_id = 0;
return FALSE; return FALSE;