[gimp] app: use gimp_async_add_callback_for_object() in the bucket-fill tool



commit 6103f0e5d040094dd72554d1992f724f808bb0f4
Author: Ell <ell_se yahoo com>
Date:   Fri Nov 30 04:10:01 2018 -0500

    app: use gimp_async_add_callback_for_object() in the bucket-fill tool
    
    ... for the same reason as commit
    7c00cf498af3de9b2d9ef4208a3d3169cae64c2c.

 app/tools/gimpbucketfilltool.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/app/tools/gimpbucketfilltool.c b/app/tools/gimpbucketfilltool.c
index e856878ab7..6347134f2e 100644
--- a/app/tools/gimpbucketfilltool.c
+++ b/app/tools/gimpbucketfilltool.c
@@ -826,9 +826,11 @@ gimp_bucket_fill_compute_line_art (GimpBucketFillTool *tool)
                                            G_CALLBACK (gimp_bucket_fill_tool_projection_rendered),
                                            tool);
 
-          gimp_async_add_callback (tool->priv->async,
-                                   (GimpAsyncCallback) gimp_bucket_fill_compute_line_art_cb,
-                                   tool);
+          gimp_async_add_callback_for_object (
+            tool->priv->async,
+            (GimpAsyncCallback) gimp_bucket_fill_compute_line_art_cb,
+            tool,
+            tool);
         }
 
       g_clear_object (&image);


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