[gimp/gtk3-port: 224/233] app: use gimp_color_display_stack_get_filters() instead of stack->filters
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 224/233] app: use gimp_color_display_stack_get_filters() instead of stack->filters
- Date: Thu, 22 Sep 2016 22:39:11 +0000 (UTC)
commit 7b8b0b2765d2cd8c676722021804ce464c1fc0e3
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]