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



commit 35a8bba0ffe1f73f90d0d5f6b7067f519bd4f9e2
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]