mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
Merge branch 'no-enums-in-bitfields' into 'main'
Stop using enums in bitfields See merge request GNOME/gtk!6467
This commit is contained in:
commit
fc4c0f769c
@ -40,7 +40,7 @@ struct _GdkIOPipe
|
||||
GCond cond;
|
||||
guchar *buffer;
|
||||
gsize size;
|
||||
GdkIOPipeState state : 2;
|
||||
guint state : 2; /* GdkIOPipeState */
|
||||
guint input_closed : 1;
|
||||
guint output_closed : 1;
|
||||
};
|
||||
|
@ -86,7 +86,7 @@ struct _GtkMenuTrackerItem
|
||||
char *action_namespace;
|
||||
char *action_and_target;
|
||||
GMenuItem *item;
|
||||
GtkMenuTrackerItemRole role : 4;
|
||||
guint role : 4; /* GtkMenuTrackerItemRole */
|
||||
guint is_separator : 1;
|
||||
guint can_activate : 1;
|
||||
guint sensitive : 1;
|
||||
|
@ -70,7 +70,7 @@ typedef struct {
|
||||
CachedSizeX cached_size_x;
|
||||
CachedSizeY cached_size_y;
|
||||
|
||||
GtkSizeRequestMode request_mode : 3;
|
||||
guint request_mode : 3; /* GtkSizeRequestMode */
|
||||
guint request_mode_valid : 1;
|
||||
struct {
|
||||
guint n_cached_requests : 15;
|
||||
|
Loading…
Reference in New Issue
Block a user