app: Change some booleans on propgui-types to unsigned integers

This fixes an Apple Clang warning about implicit truncation
from 'int' to a one-bit wide bit-field
This commit is contained in:
Bruno Lopes 2026-03-30 12:26:01 -03:00
parent c19ed5ca98
commit 2a341b815c

View file

@ -43,12 +43,12 @@ typedef struct
gdouble min; /* minimal allowable slider value */
gdouble max; /* maximal allowable slider value */
gboolean visible : 1; /* slider is visible */
gboolean selectable : 1; /* slider is selectable */
gboolean movable : 1; /* slider movable */
gboolean removable : 1; /* slider is removable */
guint visible : 1; /* slider is visible */
guint selectable : 1; /* slider is selectable */
guint movable : 1; /* slider movable */
guint removable : 1; /* slider is removable */
gboolean autohide : 1; /* whether to autohide the slider */
guint autohide : 1; /* whether to autohide the slider */
GimpHandleType type; /* slider handle type */
gdouble size; /* slider handle size, as a fraction of *
* the default size */