Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
GIMP
Commits
ed3db758
Commit
ed3db758
authored
Mar 20, 2002
by
Sven Neumann
Browse files
forgot to commit the autogenerated files.
parent
77a0b747
Changes
5
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
ed3db758
2002-03-20 Sven Neumann <sven@gimp.org>
* app/core/core-enums.[ch]: registered GimpConvertDitherType.
* app/core/core-enums.[ch]: registered GimpConvertDitherType and
skip GIMP_NODESTRUCT_DITHER since the comment said it should never
be used.
* app/gui/convert-dialog.c: simplified a lot by using enums.
* app/tools/paint_options.c: include gimpenummenu.h.
* app/pdb/convert_cmds.c
* libgimp/gimpenums.h
* plug-ins/script-fu/script-fu-constants.c
* tools/pdbgen/enums.pl: regenerated.
2002-03-20 Michael Natterer <mitch@gimp.org>
* themes/Default/images/Makefile.am
...
...
app/pdb/convert_cmds.c
View file @
ed3db758
...
...
@@ -152,7 +152,7 @@ convert_indexed_invoker (Gimp *gimp,
success
=
FALSE
;
dither_type
=
args
[
1
].
value
.
pdb_int
;
if
(
dither_type
<
GIMP_NO_DITHER
||
dither_type
>
GIMP_
NODESTRUCT
_DITHER
)
if
(
dither_type
<
GIMP_NO_DITHER
||
dither_type
>
GIMP_
FIXED
_DITHER
)
success
=
FALSE
;
palette_type
=
args
[
2
].
value
.
pdb_int
;
...
...
libgimp/gimpenums.h
View file @
ed3db758
...
...
@@ -94,8 +94,7 @@ typedef enum
GIMP_NO_DITHER
,
GIMP_FS_DITHER
,
GIMP_FSLOWBLEED_DITHER
,
GIMP_FIXED_DITHER
,
GIMP_NODESTRUCT_DITHER
GIMP_FIXED_DITHER
}
GimpConvertDitherType
;
typedef
enum
...
...
plug-ins/script-fu/script-fu-constants.c
View file @
ed3db758
...
...
@@ -68,7 +68,6 @@ init_generated_constants (void)
setvar
(
cintern
(
"FS-DITHER"
),
flocons
(
1
),
NIL
);
setvar
(
cintern
(
"FSLOWBLEED-DITHER"
),
flocons
(
2
),
NIL
);
setvar
(
cintern
(
"FIXED-DITHER"
),
flocons
(
3
),
NIL
);
setvar
(
cintern
(
"NODESTRUCT-DITHER"
),
flocons
(
4
),
NIL
);
setvar
(
cintern
(
"MAKE-PALETTE"
),
flocons
(
0
),
NIL
);
setvar
(
cintern
(
"REUSE-PALETTE"
),
flocons
(
1
),
NIL
);
...
...
tools/pdbgen/enums.pl
View file @
ed3db758
...
...
@@ -193,6 +193,16 @@ package Gimp::CodeGen::enums;
GIMP_INDEXED_CHANNEL
=>
'
4
',
GIMP_ALPHA_CHANNEL
=>
'
5
'
}
},
GimpConvertDitherType
=>
{
contig
=>
1
,
header
=>
'
core/core-enums.h
',
symbols
=>
[
qw(GIMP_NO_DITHER GIMP_FS_DITHER
GIMP_FSLOWBLEED_DITHER GIMP_FIXED_DITHER)
],
mapping
=>
{
GIMP_NO_DITHER
=>
'
0
',
GIMP_FS_DITHER
=>
'
1
',
GIMP_FSLOWBLEED_DITHER
=>
'
2
',
GIMP_FIXED_DITHER
=>
'
3
'
}
},
GimpGradientType
=>
{
contig
=>
1
,
header
=>
'
core/core-enums.h
',
...
...
@@ -260,18 +270,6 @@ package Gimp::CodeGen::enums;
GIMP_MONO_PALETTE
=>
'
3
',
GIMP_CUSTOM_PALETTE
=>
'
4
'
}
},
GimpConvertDitherType
=>
{
contig
=>
1
,
header
=>
'
core/core-enums.h
',
symbols
=>
[
qw(GIMP_NO_DITHER GIMP_FS_DITHER
GIMP_FSLOWBLEED_DITHER GIMP_FIXED_DITHER
GIMP_NODESTRUCT_DITHER)
],
mapping
=>
{
GIMP_NO_DITHER
=>
'
0
',
GIMP_FS_DITHER
=>
'
1
',
GIMP_FSLOWBLEED_DITHER
=>
'
2
',
GIMP_FIXED_DITHER
=>
'
3
',
GIMP_NODESTRUCT_DITHER
=>
'
4
'
}
},
GimpFillType
=>
{
contig
=>
1
,
header
=>
'
core/core-enums.h
',
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment