[gimp] app: connect to the new operation progress in GimpFilterTool
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: connect to the new operation progress in GimpFilterTool
- Date: Wed, 11 May 2016 20:52:44 +0000 (UTC)
commit e7d2edb6655229210f0e37340f0b7c965cffdcb7
Author: Michael Natterer <mitch gimp org>
Date: Wed May 11 22:51:58 2016 +0200
app: connect to the new operation progress in GimpFilterTool
app/tools/gimpfiltertool.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/app/tools/gimpfiltertool.c b/app/tools/gimpfiltertool.c
index 020075c..7940222 100644
--- a/app/tools/gimpfiltertool.c
+++ b/app/tools/gimpfiltertool.c
@@ -40,6 +40,7 @@
#include "config/gimpguiconfig.h"
#include "gegl/gimp-gegl-config.h"
+#include "gegl/gimp-gegl-utils.h"
#include "core/gimp.h"
#include "core/gimpdrawable.h"
@@ -967,6 +968,10 @@ gimp_filter_tool_create_map (GimpFilterTool *filter_tool)
G_CALLBACK (gimp_filter_tool_flush),
filter_tool);
+ gimp_gegl_progress_connect (filter_tool->operation,
+ GIMP_PROGRESS (filter_tool),
+ filter_tool->undo_desc);
+
if (options->preview)
gimp_image_map_apply (filter_tool->filter, NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]