[gimp/gtk3-port: 224/235] app: use gimp_color_display_stack_get_filters() instead of stack->filters



commit 5a43968e754f81bb3690277d94d453472a14d8f6
Author: Michael Natterer <mitch gimp org>
Date:   Tue Jun 9 23:57:44 2015 +0200

    app: use gimp_color_display_stack_get_filters() instead of stack->filters

 app/display/gimpdisplayshell-filter.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-filter.c b/app/display/gimpdisplayshell-filter.c
index bb69b3b..f9eb971 100644
--- a/app/display/gimpdisplayshell-filter.c
+++ b/app/display/gimpdisplayshell-filter.c
@@ -76,7 +76,8 @@ gimp_display_shell_has_filter (GimpDisplayShell *shell)
 {
   g_return_val_if_fail (GIMP_IS_DISPLAY_SHELL (shell), FALSE);
 
-  return shell->filter_stack && shell->filter_stack->filters;
+  return shell->filter_stack &&
+         gimp_color_display_stack_get_filters (shell->filter_stack);
 }
 
 GimpColorDisplayStack *


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