mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 20:41:43 +00:00
5559b6223e
* plug-ins/gimpressionist/: fixed bug #148088: ("Gimpressioinst crashes if given malicious presets with out of range values, in the radio buttons group numeric values: "placetype", "orienttype", etc. "). This was done by adding clamps to the relevant values in the preset.
16 lines
275 B
C
16 lines
275 B
C
#ifndef __PLACEMENT_H
|
|
#define __PLACEMENT_H
|
|
|
|
enum PLACEMENT_TYPE_ENUM
|
|
{
|
|
PLACEMENT_TYPE_RANDOM = 0,
|
|
PLACEMENT_TYPE_EVEN_DIST = 1,
|
|
};
|
|
|
|
void place_store (void);
|
|
void place_restore (void);
|
|
void create_placementpage (GtkNotebook *);
|
|
int place_type_input (int in);
|
|
|
|
#endif
|