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



commit 3d2e90adac02646ea99c50a5eb6f4fda2f00f13d
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 b1fa583..5453637 100644
--- a/app/display/gimpdisplayshell-filter.c
+++ b/app/display/gimpdisplayshell-filter.c
@@ -79,7 +79,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]