plug-ins: change file-[gbr/gih/pat]-save to export

Fixes some scripts, followup to
c92cf7e8f2
This commit is contained in:
Anders Jonsson 2024-04-18 09:50:48 +02:00 committed by Jehan
parent e961ff0fe2
commit 2e536b6df1
6 changed files with 11 additions and 11 deletions

View file

@ -131,7 +131,7 @@ Formerly, you passed an integer count of strings, and a list of strings.
Now you only pass the list.
ScriptFu converts to/from the C type GStrv
(which is an object knowing its own length.)
An example is the PDB procedure file-gih-save.
An example is the PDB procedure file-gih-export.
Formerly, you received an integer count of strings, and a list of strings.
Now you only receive the list

View file

@ -17,11 +17,11 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
/* Example of how to call file_gih_save from script-fu:
/* Example of how to call file-gih-export from script-fu:
(let ((ranks (cons-array 1 'byte)))
(aset ranks 0 12)
(file-gih-save 1
(file-gih-export 1
img
drawable
"foo.gih"

View file

@ -49,7 +49,7 @@
(gimp-context-set-background '(0 0 0))
(gimp-drawable-edit-fill drawable FILL-BACKGROUND)
(file-gbr-save 1 img 1 (vector drawable) filename spacing name)
(file-gbr-export 1 img 1 (vector drawable) filename spacing name)
(gimp-image-delete img)
(gimp-context-pop)
@ -119,7 +119,7 @@
(gimp-context-set-background '(0 0 0))
(gimp-drawable-edit-fill drawable FILL-BACKGROUND)
(file-gbr-save 1 img 1 (vector drawable) filename spacing name)
(file-gbr-export 1 img 1 (vector drawable) filename spacing name)
(gimp-image-delete img)
(gimp-context-pop)
@ -175,7 +175,7 @@
(gimp-drawable-edit-fill drawable FILL-BACKGROUND)
(file-gbr-save 1 img 1 (vector drawable) filename spacing name)
(file-gbr-export 1 img 1 (vector drawable) filename spacing name)
(gimp-image-delete img)
(gimp-context-pop)
@ -244,7 +244,7 @@
(gimp-context-set-background '(0 0 0))
(gimp-drawable-edit-fill drawable FILL-BACKGROUND)
(file-gbr-save 1 img 1 (vector drawable) filename spacing name)
(file-gbr-export 1 img 1 (vector drawable) filename spacing name)
(gimp-image-delete img)
(gimp-context-pop)

View file

@ -44,7 +44,7 @@
)
)
(file-gbr-save RUN-NONINTERACTIVE
(file-gbr-export RUN-NONINTERACTIVE
brush-image
1 (vector brush-draw)
path

View file

@ -32,7 +32,7 @@
(number->string pattern-image)
".pat"))
(file-pat-save RUN-NONINTERACTIVE
(file-pat-export RUN-NONINTERACTIVE
pattern-image
1 (vector pattern-draw)
path

View file

@ -38,8 +38,8 @@
; GStrv string array
; from brushes-get-list
; to file-gih-save or extension-gimp-help
; TODO test GStrv to file-gih-save
; to file-gih-export or extension-gimp-help
; TODO test GStrv to file-gih-export
; GBytes
; from image-get-colormap