diff --git a/plug-ins/script-fu/scripts/paste-as-brush.scm b/plug-ins/script-fu/scripts/paste-as-brush.scm index 19a3a494ad..544d813f2b 100644 --- a/plug-ins/script-fu/scripts/paste-as-brush.scm +++ b/plug-ins/script-fu/scripts/paste-as-brush.scm @@ -20,7 +20,7 @@ (define (script-fu-paste-as-brush name filename spacing) - (let* ((brush-image (car (gimp-edit-paste-as-new))) + (let* ((brush-image (car (gimp-edit-paste-as-new-image))) (brush-draw 0) (type 0) (path 0)) diff --git a/plug-ins/script-fu/scripts/paste-as-pattern.scm b/plug-ins/script-fu/scripts/paste-as-pattern.scm index 4188e10991..36b51bf23f 100644 --- a/plug-ins/script-fu/scripts/paste-as-pattern.scm +++ b/plug-ins/script-fu/scripts/paste-as-pattern.scm @@ -19,7 +19,7 @@ (define (script-fu-paste-as-pattern name filename) - (let* ((pattern-image (car (gimp-edit-paste-as-new))) + (let* ((pattern-image (car (gimp-edit-paste-as-new-image))) (pattern-draw 0) (path 0))