mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
script-fu: fix calls to gimp-context-set-[pattern/brush]
Like in e31de151fa
these now need to work on an object rather than a name.
This commit is contained in:
parent
97d6aa5904
commit
70b8e49e01
3 changed files with 6 additions and 6 deletions
|
@ -55,7 +55,7 @@
|
|||
(gimp-context-pop)
|
||||
|
||||
(gimp-brushes-refresh)
|
||||
(gimp-context-set-brush name)
|
||||
(gimp-context-set-brush (car (gimp-brush-get-by-name name)))
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -125,7 +125,7 @@
|
|||
(gimp-context-pop)
|
||||
|
||||
(gimp-brushes-refresh)
|
||||
(gimp-context-set-brush name)
|
||||
(gimp-context-set-brush (car (gimp-brush-get-by-name name)))
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -181,7 +181,7 @@
|
|||
(gimp-context-pop)
|
||||
|
||||
(gimp-brushes-refresh)
|
||||
(gimp-context-set-brush name)
|
||||
(gimp-context-set-brush (car (gimp-brush-get-by-name name)))
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -250,7 +250,7 @@
|
|||
(gimp-context-pop)
|
||||
|
||||
(gimp-brushes-refresh)
|
||||
(gimp-context-set-brush name)
|
||||
(gimp-context-set-brush (car (gimp-brush-get-by-name name)))
|
||||
)
|
||||
)
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
(gimp-image-delete brush-image)
|
||||
|
||||
(gimp-brushes-refresh)
|
||||
(gimp-context-set-brush name)
|
||||
(gimp-context-set-brush (car (gimp-brush-get-by-name name)))
|
||||
)
|
||||
(gimp-message _"There is no image data in the clipboard to paste.")
|
||||
)
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
(gimp-image-delete pattern-image)
|
||||
|
||||
(gimp-patterns-refresh)
|
||||
(gimp-context-set-pattern name)
|
||||
(gimp-context-set-pattern (car (gimp-pattern-get-by-name name)))
|
||||
)
|
||||
(gimp-message _"There is no image data in the clipboard to paste.")
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue