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



commit 4937d1d8d37f8cbc1e36b15218e1897dc06a613b
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.
    
    (cherry picked from commit 6103f0e5d040094dd72554d1992f724f808bb0f4)

 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 ad0c65eb73..3b2f1968c0 100644
--- a/app/tools/gimpbucketfilltool.c
+++ b/app/tools/gimpbucketfilltool.c
@@ -829,9 +829,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]