From aaaeed098bf6ebae659a6adebb83dd741fb0179c Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Tue, 21 Apr 1998 18:31:09 +0000 Subject: [PATCH] Tus Apr 21 01:59:12 EDT 1998 Matthew Wilson * app/iscissors.c: Remove the iscissors outline by stopping the draw_core before bezierifying the selection. There may be memory leaks here (the iscissors stuff does not appear to be freed on bezierify) --Matt --- ChangeLog | 7 +++++++ app/iscissors.c | 1 + app/tools/gimpiscissorstool.c | 1 + app/tools/iscissors.c | 1 + 4 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index cf9fc645ae..d6c60a5260 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Tus Apr 21 01:59:12 EDT 1998 Matthew Wilson + + * app/iscissors.c: Remove the iscissors outline by stopping the + draw_core before bezierifying the selection. There may be + memory leaks here (the iscissors stuff does not appear to be freed + on bezierify) + Mon Apr 20 18:15:54 PDT 1998 Manish Singh * app/main.c diff --git a/app/iscissors.c b/app/iscissors.c index 5540783dc9..9f624b7135 100644 --- a/app/iscissors.c +++ b/app/iscissors.c @@ -1799,6 +1799,7 @@ bezierify_boundary (Tool *tool) gdisp = (GDisplay *) tool->gdisp_ptr; iscissors = (Iscissors *) tool->private; + draw_core_stop (iscissors->core, tool); if (iscissors->num_pts < 4) { diff --git a/app/tools/gimpiscissorstool.c b/app/tools/gimpiscissorstool.c index 5540783dc9..9f624b7135 100644 --- a/app/tools/gimpiscissorstool.c +++ b/app/tools/gimpiscissorstool.c @@ -1799,6 +1799,7 @@ bezierify_boundary (Tool *tool) gdisp = (GDisplay *) tool->gdisp_ptr; iscissors = (Iscissors *) tool->private; + draw_core_stop (iscissors->core, tool); if (iscissors->num_pts < 4) { diff --git a/app/tools/iscissors.c b/app/tools/iscissors.c index 5540783dc9..9f624b7135 100644 --- a/app/tools/iscissors.c +++ b/app/tools/iscissors.c @@ -1799,6 +1799,7 @@ bezierify_boundary (Tool *tool) gdisp = (GDisplay *) tool->gdisp_ptr; iscissors = (Iscissors *) tool->private; + draw_core_stop (iscissors->core, tool); if (iscissors->num_pts < 4) {