mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 22:10:08 +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;
|
GCond cond;
|
||||||
guchar *buffer;
|
guchar *buffer;
|
||||||
gsize size;
|
gsize size;
|
||||||
GdkIOPipeState state : 2;
|
guint state : 2; /* GdkIOPipeState */
|
||||||
guint input_closed : 1;
|
guint input_closed : 1;
|
||||||
guint output_closed : 1;
|
guint output_closed : 1;
|
||||||
};
|
};
|
||||||
|
@ -86,7 +86,7 @@ struct _GtkMenuTrackerItem
|
|||||||
char *action_namespace;
|
char *action_namespace;
|
||||||
char *action_and_target;
|
char *action_and_target;
|
||||||
GMenuItem *item;
|
GMenuItem *item;
|
||||||
GtkMenuTrackerItemRole role : 4;
|
guint role : 4; /* GtkMenuTrackerItemRole */
|
||||||
guint is_separator : 1;
|
guint is_separator : 1;
|
||||||
guint can_activate : 1;
|
guint can_activate : 1;
|
||||||
guint sensitive : 1;
|
guint sensitive : 1;
|
||||||
|
@ -70,7 +70,7 @@ typedef struct {
|
|||||||
CachedSizeX cached_size_x;
|
CachedSizeX cached_size_x;
|
||||||
CachedSizeY cached_size_y;
|
CachedSizeY cached_size_y;
|
||||||
|
|
||||||
GtkSizeRequestMode request_mode : 3;
|
guint request_mode : 3; /* GtkSizeRequestMode */
|
||||||
guint request_mode_valid : 1;
|
guint request_mode_valid : 1;
|
||||||
struct {
|
struct {
|
||||||
guint n_cached_requests : 15;
|
guint n_cached_requests : 15;
|
||||||
|
Loading…
Reference in New Issue
Block a user