From 0bd67f281f65d419ebad93a9ec30e2b5c29585c4 Mon Sep 17 00:00:00 2001 From: Kevin Cozens Date: Tue, 25 Sep 2007 05:17:35 +0000 Subject: [PATCH] Applied patch from Ulf-D. Ehlert which pushes and pops a context to 2007-09-25 Kevin Cozens * plug-ins/script-fu/scripts/fuzzyborder.scm: Applied patch from Ulf-D. Ehlert which pushes and pops a context to prevent changing background colour in the UI. Fixes bug #479974. svn path=/trunk/; revision=23648 --- ChangeLog | 6 ++++++ plug-ins/script-fu/scripts/fuzzyborder.scm | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index cb01544307..5bfa26f320 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-09-25 Kevin Cozens + + * plug-ins/script-fu/scripts/fuzzyborder.scm: Applied patch from + Ulf-D. Ehlert which pushes and pops a context to prevent + changing background colour in the UI. Fixes bug #479974. + 2007-09-24 Matic Zgur * configure.in: Added 'sl' to ALL_LINUGAS. diff --git a/plug-ins/script-fu/scripts/fuzzyborder.scm b/plug-ins/script-fu/scripts/fuzzyborder.scm index 7dcb69b37b..6359de3ffd 100644 --- a/plug-ins/script-fu/scripts/fuzzyborder.scm +++ b/plug-ins/script-fu/scripts/fuzzyborder.scm @@ -42,6 +42,8 @@ (theLayer) ) + (gimp-context-push) + (gimp-selection-all inImage) (set! theImage (if (= inCopy TRUE) (car (gimp-image-duplicate inImage)) @@ -126,6 +128,8 @@ ) ) (gimp-displays-flush) + + (gimp-context-pop) ) )