summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-11-08 09:22:24 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-11-08 09:22:24 -0500
commit99db9e2557f94464b490fd7af3c90d1e3a65c111 (patch)
tree81888be21fd395a51454724bf5ced1451c635e2f
parent791f70541ddcce46107491f66361498142be75c2 (diff)
downloadenlightenment-99db9e2557f94464b490fd7af3c90d1e3a65c111.tar.gz
more E_BITFIELD conversions
-rw-r--r--src/bin/e_bryce.c12
-rw-r--r--src/bin/e_client.c2
-rw-r--r--src/bin/e_comp_object.c56
-rw-r--r--src/bin/e_comp_wl_extensions.c6
-rw-r--r--src/bin/e_comp_x.c2
-rw-r--r--src/bin/e_dbusmenu.c2
-rw-r--r--src/bin/e_deskmirror.c8
-rw-r--r--src/bin/e_exec.c2
-rw-r--r--src/bin/e_flowlayout.c20
-rw-r--r--src/bin/e_fm.c62
-rw-r--r--src/bin/e_gadcon.c8
-rw-r--r--src/bin/e_gadget.c4
-rw-r--r--src/bin/e_gadget_runner.c4
-rw-r--r--src/bin/e_icon.c14
-rw-r--r--src/bin/e_ilist.c8
-rw-r--r--src/bin/e_int_config_comp.c4
-rw-r--r--src/bin/e_int_config_modules.c2
-rw-r--r--src/bin/e_layout.c2
-rw-r--r--src/bin/e_msg.c2
-rw-r--r--src/bin/e_pixmap.c6
-rw-r--r--src/bin/e_powersave.c2
-rw-r--r--src/bin/e_scrollframe.c22
-rw-r--r--src/bin/e_slidecore.c2
-rw-r--r--src/bin/e_slider.c2
-rw-r--r--src/bin/e_slidesel.c4
-rw-r--r--src/bin/e_thumb.c6
-rw-r--r--src/bin/e_video.c2
-rw-r--r--src/bin/e_widget.c8
-rw-r--r--src/bin/e_widget_bgpreview.c4
-rw-r--r--src/bin/e_widget_filepreview.c24
-rw-r--r--src/bin/e_widget_fsel.c4
-rw-r--r--src/bin/e_widget_toolbar.c6
-rw-r--r--src/bin/e_win.c14
-rw-r--r--src/bin/e_xsettings.c2
-rw-r--r--src/bin/e_zoomap.c6
-rw-r--r--src/modules/conf_bindings/e_int_config_keybindings.c2
-rw-r--r--src/modules/conf_intl/e_int_config_intl.c2
-rw-r--r--src/modules/conf_theme/e_int_config_theme.c2
-rw-r--r--src/modules/connman/agent.c2
-rw-r--r--src/modules/everything/evry_view.c14
-rw-r--r--src/modules/fileman/e_fwin.c4
-rw-r--r--src/modules/ibar/e_mod_main.c14
-rw-r--r--src/modules/ibox/e_mod_main.c4
-rw-r--r--src/modules/lokker/lokker.c6
-rw-r--r--src/modules/pager/e_mod_main.c22
-rw-r--r--src/modules/pager/gadget/pager.c24
-rw-r--r--src/modules/pager_plain/e_mod_main.c22
-rw-r--r--src/modules/sysinfo/batman/batman_fallback.c4
-rw-r--r--src/modules/tasks/e_mod_main.c8
-rw-r--r--src/modules/teamwork/e_mod_tw.c6
-rw-r--r--src/modules/tiling/e_mod_tiling.c6
-rw-r--r--src/modules/winlist/e_winlist.c4
-rw-r--r--src/modules/wireless/connman.c10
-rw-r--r--src/modules/wireless/wireless.c2
-rw-r--r--src/modules/xwayland/dnd.c2
55 files changed, 247 insertions, 247 deletions
diff --git a/src/bin/e_bryce.c b/src/bin/e_bryce.c
index 4369e31400..74871ac4a7 100644
--- a/src/bin/e_bryce.c
+++ b/src/bin/e_bryce.c
@@ -43,12 +43,12 @@ typedef struct Bryce
Eina_Bool autohide;
unsigned int version;
- Eina_Bool hidden : 1;
- Eina_Bool animating : 1;
- Eina_Bool mouse_in : 1;
- Eina_Bool noshadow : 1;
- Eina_Bool size_changed : 1;
- Eina_Bool editing : 1;
+ Eina_Bool hidden E_BITFIELD;
+ Eina_Bool animating E_BITFIELD;
+ Eina_Bool mouse_in E_BITFIELD;
+ Eina_Bool noshadow E_BITFIELD;
+ Eina_Bool size_changed E_BITFIELD;
+ Eina_Bool editing E_BITFIELD;
} Bryce;
typedef struct Bryces
diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 6ea96054c1..aa35610d50 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -3238,7 +3238,7 @@ e_client_res_change_geometry_restore(E_Client *ec)
{
struct
{
- unsigned char valid : 1;
+ unsigned char valid E_BITFIELD;
int x, y, w, h;
struct
{
diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index d7130d2cc8..c1a7941c73 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -101,34 +101,34 @@ typedef struct _E_Comp_Object
unsigned int animating; // it's busy animating
unsigned int failures; //number of consecutive e_pixmap_image_draw() failures
unsigned int force_visible; //number of visible obj_mirror objects
- Eina_Bool deleted : 1; // deleted
- Eina_Bool defer_hide : 1; // flag to get hide to work on deferred hide
- Eina_Bool showing : 1; // object is currently in "show" animation
- Eina_Bool visible : 1; // is visible
-
- Eina_Bool shaped : 1; // is shaped
- Eina_Bool update : 1; // has updates to fetch
- Eina_Bool redirected : 1; // has updates to fetch
- Eina_Bool native : 1; // native
-
- Eina_Bool nocomp : 1; // nocomp applied
- Eina_Bool nocomp_need_update : 1; // nocomp in effect, but this window updated while in nocomp mode
- Eina_Bool real_hid : 1; // last hide was a real window unmap
-
- Eina_Bool effect_set : 1; //effect_obj has a valid group
- Eina_Bool effect_running : 1; //effect_obj is playing an animation
- Eina_Bool effect_clip : 1; //effect_obj is clipped
- Eina_Bool effect_clip_able : 1; //effect_obj will be clipped for effects
-
- Eina_Bool zoomap_disabled : 1; //whether zoomap is usable
- Eina_Bool updates_exist : 1;
- Eina_Bool updates_full : 1; // entire object will be updated
-
- Eina_Bool force_move : 1;
- Eina_Bool frame_extends : 1; //frame may extend beyond object size
- Eina_Bool blanked : 1; //window is rendering blank content (externally composited)
-
- Eina_Bool agent_updating : 1; //updating agents
+ Eina_Bool deleted E_BITFIELD; // deleted
+ Eina_Bool defer_hide E_BITFIELD; // flag to get hide to work on deferred hide
+ Eina_Bool showing E_BITFIELD; // object is currently in "show" animation
+ Eina_Bool visible E_BITFIELD; // is visible
+
+ Eina_Bool shaped E_BITFIELD; // is shaped
+ Eina_Bool update E_BITFIELD; // has updates to fetch
+ Eina_Bool redirected E_BITFIELD; // has updates to fetch
+ Eina_Bool native E_BITFIELD; // native
+
+ Eina_Bool nocomp E_BITFIELD; // nocomp applied
+ Eina_Bool nocomp_need_update E_BITFIELD; // nocomp in effect, but this window updated while in nocomp mode
+ Eina_Bool real_hid E_BITFIELD; // last hide was a real window unmap
+
+ Eina_Bool effect_set E_BITFIELD; //effect_obj has a valid group
+ Eina_Bool effect_running E_BITFIELD; //effect_obj is playing an animation
+ Eina_Bool effect_clip E_BITFIELD; //effect_obj is clipped
+ Eina_Bool effect_clip_able E_BITFIELD; //effect_obj will be clipped for effects
+
+ Eina_Bool zoomap_disabled E_BITFIELD; //whether zoomap is usable
+ Eina_Bool updates_exist E_BITFIELD;
+ Eina_Bool updates_full E_BITFIELD; // entire object will be updated
+
+ Eina_Bool force_move E_BITFIELD;
+ Eina_Bool frame_extends E_BITFIELD; //frame may extend beyond object size
+ Eina_Bool blanked E_BITFIELD; //window is rendering blank content (externally composited)
+
+ Eina_Bool agent_updating E_BITFIELD; //updating agents
} E_Comp_Object;
diff --git a/src/bin/e_comp_wl_extensions.c b/src/bin/e_comp_wl_extensions.c
index 7e93ece23a..3c4924706f 100644
--- a/src/bin/e_comp_wl_extensions.c
+++ b/src/bin/e_comp_wl_extensions.c
@@ -40,9 +40,9 @@ typedef struct Constraint
Eina_Tiler *pending;
Evas_Point *pending_xy;
Evas_Point *pointer_xy;
- Eina_Bool lock : 1; // if not lock, confine
- Eina_Bool persistent : 1;
- Eina_Bool active : 1;
+ Eina_Bool lock E_BITFIELD; // if not lock, confine
+ Eina_Bool persistent E_BITFIELD;
+ Eina_Bool active E_BITFIELD;
} Constraint;
static Eina_List *active_constraints;
diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index 91faf9f880..342e81aaf8 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -37,7 +37,7 @@ struct _E_Comp_X_Data
Eina_List *retry_clients;
Ecore_Timer *retry_timer;
- Eina_Bool restack : 1;
+ Eina_Bool restack E_BITFIELD;
};
typedef struct Pending_Configure
diff --git a/src/bin/e_dbusmenu.c b/src/bin/e_dbusmenu.c
index bc87097abf..55b113d8b3 100644
--- a/src/bin/e_dbusmenu.c
+++ b/src/bin/e_dbusmenu.c
@@ -9,7 +9,7 @@ struct _E_DBusMenu_Ctx
void *data;
E_DBusMenu_Pop_Request_Cb pop_request_cb;
E_DBusMenu_Update_Cb update_cb;
- Eina_Bool hacks : 1;
+ Eina_Bool hacks E_BITFIELD;
};
static const char *Menu_Item_Type_Names[] =
diff --git a/src/bin/e_deskmirror.c b/src/bin/e_deskmirror.c
index d47a6e8217..ea4655b6b8 100644
--- a/src/bin/e_deskmirror.c
+++ b/src/bin/e_deskmirror.c
@@ -27,10 +27,10 @@ typedef struct E_Smart_Data
E_Desk *desk;
E_Object_Delfn *desk_delfn;
- Eina_Bool pager : 1;
- Eina_Bool taskbar : 1;
+ Eina_Bool pager E_BITFIELD;
+ Eina_Bool taskbar E_BITFIELD;
- Eina_Bool resize : 1;
+ Eina_Bool resize E_BITFIELD;
} E_Smart_Data;
typedef struct Mirror
@@ -42,7 +42,7 @@ typedef struct Mirror
Evas_Object *mirror;
int x, y, w, h;
int ref;
- Eina_Bool added : 1;
+ Eina_Bool added E_BITFIELD;
} Mirror;
typedef struct Mirror_Border
diff --git a/src/bin/e_exec.c b/src/bin/e_exec.c
index 851058ddcd..6d97a08f8d 100644
--- a/src/bin/e_exec.c
+++ b/src/bin/e_exec.c
@@ -31,7 +31,7 @@ struct _E_Exec_Watch
{
void (*func)(void *data, E_Exec_Instance *inst, E_Exec_Watch_Type type);
const void *data;
- Eina_Bool delete_me : 1;
+ Eina_Bool delete_me E_BITFIELD;
};
struct _E_Config_Dialog_Data
diff --git a/src/bin/e_flowlayout.c b/src/bin/e_flowlayout.c
index e603d29321..62d238e32d 100644
--- a/src/bin/e_flowlayout.c
+++ b/src/bin/e_flowlayout.c
@@ -9,12 +9,12 @@ struct _E_Smart_Data
Evas_Object *obj;
Evas_Object *clip;
int frozen;
- unsigned char changed : 1;
- unsigned char horizontal : 1;
- unsigned char homogenous : 1;
- unsigned char fill : 1;
- unsigned char flowright : 1;
- unsigned char flowbottom : 1;
+ unsigned char changed E_BITFIELD;
+ unsigned char horizontal E_BITFIELD;
+ unsigned char homogenous E_BITFIELD;
+ unsigned char fill E_BITFIELD;
+ unsigned char flowright E_BITFIELD;
+ unsigned char flowbottom E_BITFIELD;
Eina_List *items;
struct
{
@@ -31,10 +31,10 @@ struct _E_Smart_Data
struct _E_Flowlayout_Item
{
E_Smart_Data *sd;
- unsigned char fill_w : 1;
- unsigned char fill_h : 1;
- unsigned char expand_w : 1;
- unsigned char expand_h : 1;
+ unsigned char fill_w E_BITFIELD;
+ unsigned char fill_h E_BITFIELD;
+ unsigned char expand_w E_BITFIELD;
+ unsigned char expand_h E_BITFIELD;
struct
{
Evas_Coord w, h;
diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c
index 1dd3ffaca8..2861d72394 100644
--- a/src/bin/e_fm.c
+++ b/src/bin/e_fm.c
@@ -84,7 +84,7 @@ struct _E_Fm2_Smart_Data
{
Ecore_Thread *thread;
const char *filename;
- Eina_Bool done : 1;
+ Eina_Bool done E_BITFIELD;
} new_file;
E_Fm2_Icon *last_selected;
@@ -102,12 +102,12 @@ struct _E_Fm2_Smart_Data
Eina_List *rename_dialogs;
E_Entry_Dialog *entry_dialog;
E_Dialog *image_dialog;
- Eina_Bool iconlist_changed : 1;
- Eina_Bool order_file : 1;
- Eina_Bool typebuf_visible : 1;
- Eina_Bool show_hidden_files : 1;
- Eina_Bool listing : 1;
- Eina_Bool inherited_dir_props : 1;
+ Eina_Bool iconlist_changed E_BITFIELD;
+ Eina_Bool order_file E_BITFIELD;
+ Eina_Bool typebuf_visible E_BITFIELD;
+ Eina_Bool show_hidden_files E_BITFIELD;
+ Eina_Bool listing E_BITFIELD;
+ Eina_Bool inherited_dir_props E_BITFIELD;
signed char view_mode; /* -1 = unset */
signed short icon_size; /* -1 = unset */
E_Fm2_View_Flags view_flags;
@@ -130,7 +130,7 @@ struct _E_Fm2_Smart_Data
Eina_List *actions;
Ecore_Idler *idler;
Ecore_Timer *timer;
- Eina_Bool deletions : 1;
+ Eina_Bool deletions E_BITFIELD;
} live;
struct
@@ -139,8 +139,8 @@ struct _E_Fm2_Smart_Data
const char *start;
Ecore_Timer *timer;
unsigned int wildcard;
- Eina_Bool setting : 1;
- Eina_Bool disabled : 1;
+ Eina_Bool setting E_BITFIELD;
+ Eina_Bool disabled E_BITFIELD;
} typebuf;
int busy_count;
@@ -154,12 +154,12 @@ struct _E_Fm2_Smart_Data
Eina_List *mount_ops;
E_Fm2_Mount *mount;
signed char drop_after;
- Eina_Bool drop_show : 1;
- Eina_Bool drop_in_show : 1;
- Eina_Bool drop_all : 1;
- Eina_Bool drag : 1;
- Eina_Bool selecting : 1;
- Eina_Bool toomany : 1;
+ Eina_Bool drop_show E_BITFIELD;
+ Eina_Bool drop_in_show E_BITFIELD;
+ Eina_Bool drop_all E_BITFIELD;
+ Eina_Bool drag E_BITFIELD;
+ Eina_Bool selecting E_BITFIELD;
+ Eina_Bool toomany E_BITFIELD;
struct
{
int ox, oy;
@@ -177,7 +177,7 @@ struct _E_Fm2_Region
E_Fm2_Smart_Data *sd;
Evas_Coord x, y, w, h;
Eina_List *list;
- Eina_Bool realized : 1;
+ Eina_Bool realized E_BITFIELD;
};
struct _E_Fm2_Icon
@@ -205,24 +205,24 @@ struct _E_Fm2_Icon
{
Evas_Coord x, y;
Ecore_Timer *dnd_end_timer; //we need this for XDirectSave drops so we don't lose the icon
- Eina_Bool start : 1;
- Eina_Bool dnd : 1; // currently dragging
- Eina_Bool src : 1; // drag source
- Eina_Bool hidden : 1; // dropped into different dir
+ Eina_Bool start E_BITFIELD;
+ Eina_Bool dnd E_BITFIELD; // currently dragging
+ Eina_Bool src E_BITFIELD; // drag source
+ Eina_Bool hidden E_BITFIELD; // dropped into different dir
} drag;
int saved_rel;
- Eina_Bool realized : 1;
- Eina_Bool selected : 1;
- Eina_Bool last_selected : 1;
- Eina_Bool saved_pos : 1;
- Eina_Bool odd : 1;
- Eina_Bool down_sel : 1;
- Eina_Bool removable_state_change : 1;
- Eina_Bool thumb_failed : 1;
- Eina_Bool queued : 1;
- Eina_Bool inserted : 1;
+ Eina_Bool realized E_BITFIELD;
+ Eina_Bool selected E_BITFIELD;
+ Eina_Bool last_selected E_BITFIELD;
+ Eina_Bool saved_pos E_BITFIELD;
+ Eina_Bool odd E_BITFIELD;
+ Eina_Bool down_sel E_BITFIELD;
+ Eina_Bool removable_state_change E_BITFIELD;
+ Eina_Bool thumb_failed E_BITFIELD;
+ Eina_Bool queued E_BITFIELD;
+ Eina_Bool inserted E_BITFIELD;
};
struct _E_Fm2_Finfo
diff --git a/src/bin/e_gadcon.c b/src/bin/e_gadcon.c
index cc21b140e4..9396bb2acf 100644
--- a/src/bin/e_gadcon.c
+++ b/src/bin/e_gadcon.c
@@ -3461,9 +3461,9 @@ struct _E_Smart_Data
{
Evas_Coord x, y, w, h;
Evas_Object *obj, *clip;
- unsigned char horizontal : 1;
- unsigned char doing_config : 1;
- unsigned char redo_config : 1;
+ unsigned char horizontal E_BITFIELD;
+ unsigned char doing_config E_BITFIELD;
+ unsigned char redo_config E_BITFIELD;
Eina_List *items;
int frozen;
Evas_Coord minw, minh, req;
@@ -3486,7 +3486,7 @@ struct _E_Gadcon_Layout_Item
Evas_Coord x, y, w, h;
Evas_Object *obj;
- unsigned char can_move : 1;
+ unsigned char can_move E_BITFIELD;
};
/* local subsystem functions */
diff --git a/src/bin/e_gadget.c b/src/bin/e_gadget.c
index 5f91fb4c10..5baf1c3f94 100644
--- a/src/bin/e_gadget.c
+++ b/src/bin/e_gadget.c
@@ -88,8 +88,8 @@ struct E_Gadget_Config
Evas_Point down; //coords from mouse down
E_Gadget_Config *orig; //gadget is a copy of the original gadget during a move
E_Gadget_Site_Anchor resizing;
- Eina_Bool moving : 1;
- Eina_Bool display_del : 1; //deleted using ->display
+ Eina_Bool moving E_BITFIELD;
+ Eina_Bool display_del E_BITFIELD; //deleted using ->display
};
typedef struct E_Gadget_Sites
diff --git a/src/bin/e_gadget_runner.c b/src/bin/e_gadget_runner.c
index dfe2c0ee4c..6f14bea910 100644
--- a/src/bin/e_gadget_runner.c
+++ b/src/bin/e_gadget_runner.c
@@ -20,7 +20,7 @@ typedef struct Config_Item
int exit_mode;
Eina_Stringshare *cmd;
void *inst;
- Eina_Bool cmd_changed : 1;
+ Eina_Bool cmd_changed E_BITFIELD;
} Config_Item;
typedef struct Instance
@@ -66,7 +66,7 @@ typedef struct Wizard_Item
E_Gadget_Wizard_End_Cb cb;
void *data;
int id;
- Eina_Bool sandbox : 1;
+ Eina_Bool sandbox E_BITFIELD;
} Wizard_Item;
static void
diff --git a/src/bin/e_icon.c b/src/bin/e_icon.c
index b5c6187eb4..f736a5e0f1 100644
--- a/src/bin/e_icon.c
+++ b/src/bin/e_icon.c
@@ -15,13 +15,13 @@ struct _E_Smart_Data
double last_resize;
int size;
int frame, frame_count;
- unsigned char fill_inside : 1;
- unsigned char scale_up : 1;
- unsigned char preload : 1;
- unsigned char loading : 1;
- unsigned char animated : 1;
- unsigned char invalid : 1;
- Eina_Bool edje : 1;
+ unsigned char fill_inside E_BITFIELD;
+ unsigned char scale_up E_BITFIELD;
+ unsigned char preload E_BITFIELD;
+ unsigned char loading E_BITFIELD;
+ unsigned char animated E_BITFIELD;
+ unsigned char invalid E_BITFIELD;
+ Eina_Bool edje E_BITFIELD;
};
struct _Cache_Item
diff --git a/src/bin/e_ilist.c b/src/bin/e_ilist.c
index cc7b52dd87..49bdb98ddb 100644
--- a/src/bin/e_ilist.c
+++ b/src/bin/e_ilist.c
@@ -13,9 +13,9 @@ struct _E_Smart_Data
Eina_List *selected_items;
int selected;
const char *theme;
- unsigned char selector : 1;
- unsigned char multi_select : 1;
- unsigned char on_hold : 1;
+ unsigned char selector E_BITFIELD;
+ unsigned char multi_select E_BITFIELD;
+ unsigned char on_hold E_BITFIELD;
struct
{
@@ -23,7 +23,7 @@ struct _E_Smart_Data
unsigned int size;
Ecore_Timer *timer;
} typebuf;
- Eina_Bool disabled : 1;
+ Eina_Bool disabled E_BITFIELD;
};
static void _e_smart_init(void);
diff --git a/src/bin/e_int_config_comp.c b/src/bin/e_int_config_comp.c
index d2b79d6346..68317d45b0 100644
--- a/src/bin/e_int_config_comp.c
+++ b/src/bin/e_int_config_comp.c
@@ -21,7 +21,7 @@ struct _E_Config_Dialog_Data
int disable_menus;
int disable_objects;
int disable_all;
- int toggle_changed : 1;
+ int toggle_changed E_BITFIELD;
} match;
Evas_Object *styles_il;
@@ -49,7 +49,7 @@ struct _E_Config_Dialog_Data
int fast_objects;
int fast;
Evas_Object *fast_ob;
- int fast_changed : 1;
+ int fast_changed E_BITFIELD;
};
/* Protos */
diff --git a/src/bin/e_int_config_modules.c b/src/bin/e_int_config_modules.c
index efcc6a801e..6d71b4a5ae 100644
--- a/src/bin/e_int_config_modules.c
+++ b/src/bin/e_int_config_modules.c
@@ -12,7 +12,7 @@ struct _CFModule
E_Module *module;
Evas_Object *end;
int idx;
- Eina_Bool enabled : 1;
+ Eina_Bool enabled E_BITFIELD;
};
struct _CFType
diff --git a/src/bin/e_layout.c b/src/bin/e_layout.c
index 33ddbf594e..e742c48eb3 100644
--- a/src/bin/e_layout.c
+++ b/src/bin/e_layout.c
@@ -13,7 +13,7 @@ struct _E_Smart_Data
Evas_Object *obj;
Evas_Object *clip;
int frozen;
- unsigned char changed : 1;
+ unsigned char changed E_BITFIELD;
Eina_Inlist *items;
};
diff --git a/src/bin/e_msg.c b/src/bin/e_msg.c
index 0b549017bb..004b7ac9b5 100644
--- a/src/bin/e_msg.c
+++ b/src/bin/e_msg.c
@@ -6,7 +6,7 @@ struct _E_Msg_Handler
{
void (*func)(void *data, const char *name, const char *info, int val, E_Object *obj, void *msgdata);
void *data;
- unsigned char delete_me : 1;
+ unsigned char delete_me E_BITFIELD;
};
struct _E_Msg_Event
diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c
index 346b2726aa..b041e4cdde 100644
--- a/src/bin/e_pixmap.c
+++ b/src/bin/e_pixmap.c
@@ -54,9 +54,9 @@ struct _E_Pixmap
Eina_List *free_buffers;
#endif
- Eina_Bool usable : 1;
- Eina_Bool dirty : 1;
- Eina_Bool image_argb : 1;
+ Eina_Bool usable E_BITFIELD;
+ Eina_Bool dirty E_BITFIELD;
+ Eina_Bool image_argb E_BITFIELD;
};
#ifdef HAVE_WAYLAND
diff --git a/src/bin/e_powersave.c b/src/bin/e_powersave.c
index baac18a3e5..0844e909f4 100644
--- a/src/bin/e_powersave.c
+++ b/src/bin/e_powersave.c
@@ -5,7 +5,7 @@ struct _E_Powersave_Deferred_Action
{
void (*func)(void *data);
const void *data;
- unsigned char delete_me : 1;
+ unsigned char delete_me E_BITFIELD;
};
struct _E_Powersave_Sleeper
diff --git a/src/bin/e_scrollframe.c b/src/bin/e_scrollframe.c
index 450d46a231..c23600dd59 100644
--- a/src/bin/e_scrollframe.c
+++ b/src/bin/e_scrollframe.c
@@ -30,11 +30,11 @@ struct _E_Smart_Data
double anim_start;
Ecore_Animator *momentum_animator;
Evas_Coord locked_x, locked_y;
- unsigned char now : 1;
- unsigned char dragged : 1;
- unsigned char dir_x : 1;
- unsigned char dir_y : 1;
- unsigned char locked : 1;
+ unsigned char now E_BITFIELD;
+ unsigned char dragged E_BITFIELD;
+ unsigned char dir_x E_BITFIELD;
+ unsigned char dir_y E_BITFIELD;
+ unsigned char locked E_BITFIELD;
} down;
struct
@@ -55,14 +55,14 @@ struct _E_Smart_Data
} pan_func;
struct
{
- Eina_Bool forced : 1;
+ Eina_Bool forced E_BITFIELD;
} thumbscroll;
- unsigned char hbar_visible : 1;
- unsigned char vbar_visible : 1;
- unsigned char extern_pan : 1;
- unsigned char one_dir_at_a_time : 1;
- Eina_Bool key_nav : 1;
+ unsigned char hbar_visible E_BITFIELD;
+ unsigned char vbar_visible E_BITFIELD;
+ unsigned char extern_pan E_BITFIELD;
+ unsigned char one_dir_at_a_time E_BITFIELD;
+ Eina_Bool key_nav E_BITFIELD;
};
/* local subsystem functions */
diff --git a/src/bin/e_slidecore.c b/src/bin/e_slidecore.c
index 9af0d46bac..368adc8fb2 100644
--- a/src/bin/e_slidecore.c
+++ b/src/bin/e_slidecore.c
@@ -18,7 +18,7 @@ struct _E_Smart_Data
Ecore_Animator *slide_animator;
Evas_Coord dist, pos, slide_pos, slide_start_pos;
int p1, p2, pn;
- unsigned char down : 1;
+ unsigned char down E_BITFIELD;
};
struct _E_Smart_Item
diff --git a/src/bin/e_slider.c b/src/bin/e_slider.c
index f0ee098612..06a95782fc 100644
--- a/src/bin/e_slider.c
+++ b/src/bin/e_slider.c
@@ -23,7 +23,7 @@ struct _E_Smart_Data
Evas_Coord minw, minh;
Ecore_Timer *set_timer;
Eina_List *special_values;
- Eina_Bool disabled : 1;
+ Eina_Bool disabled E_BITFIELD;
};
struct _E_Slider_Special_Value
diff --git a/src/bin/e_slidesel.c b/src/bin/e_slidesel.c
index 33f96a917f..424d5ef96e 100644
--- a/src/bin/e_slidesel.c
+++ b/src/bin/e_slidesel.c
@@ -18,8 +18,8 @@ struct _E_Smart_Data
Evas_Coord down_x, down_y;
E_Smart_Item *cur;
double down_time;
- unsigned char down : 1;
- unsigned char down_cancel : 1;
+ unsigned char down E_BITFIELD;
+ unsigned char down_cancel E_BITFIELD;
};
struct _E_Smart_Item
diff --git a/src/bin/e_thumb.c b/src/bin/e_thumb.c
index 2fed2c9b86..108599167e 100644
--- a/src/bin/e_thumb.c
+++ b/src/bin/e_thumb.c
@@ -13,9 +13,9 @@ struct _E_Thumb
int x, y, x_count, y_count;
} desk_pan;
Eina_List *sigsrc;
- unsigned char queued : 1;
- unsigned char busy : 1;
- unsigned char done : 1;
+ unsigned char queued E_BITFIELD;
+ unsigned char busy E_BITFIELD;
+ unsigned char done E_BITFIELD;
};
/* local subsystem functions */
diff --git a/src/bin/e_video.c b/src/bin/e_video.c
index cbd3846550..0be82358d4 100644
--- a/src/bin/e_video.c
+++ b/src/bin/e_video.c
@@ -6,7 +6,7 @@ struct _Video
{
Evas_Object_Smart_Clipped_Data __clipped_data;
Evas_Object *clip, *o_vid;
- Eina_Bool lowqual : 1;
+ Eina_Bool lowqual E_BITFIELD;
};
typedef struct _Vidimg Vidimg;
diff --git a/src/bin/e_widget.c b/src/bin/e_widget.c
index 91cdd953b4..c8a7cbcfda 100644
--- a/src/bin/e_widget.c
+++ b/src/bin/e_widget.c
@@ -22,10 +22,10 @@ struct _E_Smart_Data
void (*on_disable_func)(void *data, Evas_Object *obj);
void *on_disable_data;
void *data;
- unsigned char can_focus : 1;
- unsigned char child_can_focus : 1;
- unsigned char focused : 1;
- unsigned char disabled : 1;
+ unsigned char can_focus E_BITFIELD;
+ unsigned char child_can_focus E_BITFIELD;
+ unsigned char focused E_BITFIELD;
+ unsigned char disabled E_BITFIELD;
};
/* local subsystem functions */
diff --git a/src/bin/e_widget_bgpreview.c b/src/bin/e_widget_bgpreview.c
index 6dd32af581..678065b73e 100644
--- a/src/bin/e_widget_bgpreview.c
+++ b/src/bin/e_widget_bgpreview.c
@@ -14,8 +14,8 @@ struct _E_Widget_Desk_Data
int zone, x, y;
Ecore_Event_Handler *bg_upd_hdl;
Ecore_Job *resize_job;
- Eina_Bool configurable : 1;
- Eina_Bool thumb : 1;
+ Eina_Bool configurable E_BITFIELD;
+ Eina_Bool thumb E_BITFIELD;
};
/* local function prototypes */
diff --git a/src/bin/e_widget_filepreview.c b/src/bin/e_widget_filepreview.c
index fef62c91a0..3439078020 100644
--- a/src/bin/e_widget_filepreview.c
+++ b/src/bin/e_widget_filepreview.c
@@ -45,18 +45,18 @@ struct _E_Widget_Data
const char *mime;
double vid_pct;
- Eina_Bool mime_icon : 1;
- Eina_Bool is_dir : 1;
- Eina_Bool is_txt : 1;
- Eina_Bool is_font : 1;
- Eina_Bool prev_is_fm : 1;
- Eina_Bool prev_is_txt : 1;
- Eina_Bool prev_is_font : 1;
- Eina_Bool prev_is_video : 1;
- Eina_Bool clamp_video : 1;
- Eina_Bool delete_me : 1;
- Eina_Bool preview_text_file_next : 1;
- Eina_Bool vid_sized : 1;
+ Eina_Bool mime_icon E_BITFIELD;
+ Eina_Bool is_dir E_BITFIELD;
+ Eina_Bool is_txt E_BITFIELD;
+ Eina_Bool is_font E_BITFIELD;
+ Eina_Bool prev_is_fm E_BITFIELD;
+ Eina_Bool prev_is_txt E_BITFIELD;
+ Eina_Bool prev_is_font E_BITFIELD;
+ Eina_Bool prev_is_video E_BITFIELD;
+ Eina_Bool clamp_video E_BITFIELD;
+ Eina_Bool delete_me E_BITFIELD;
+ Eina_Bool preview_text_file_next E_BITFIELD;
+ Eina_Bool vid_sized E_BITFIELD;
};
static void _e_wid_fprev_preview_update(void *data, Evas_Object *obj, void *event_info);
diff --git a/src/bin/e_widget_fsel.c b/src/bin/e_widget_fsel.c
index 4e78f8ade7..e36df9966e 100644
--- a/src/bin/e_widget_fsel.c
+++ b/src/bin/e_widget_fsel.c
@@ -25,8 +25,8 @@ struct _E_Widget_Data
void (*chg_func)(void *data, Evas_Object *obj);
void *chg_data;
int preview;
- Eina_Bool nochange : 1; // block changing of entry
- Eina_Bool fprev : 1; // current fprev is dir
+ Eina_Bool nochange E_BITFIELD; // block changing of entry
+ Eina_Bool fprev E_BITFIELD; // current fprev is dir
};
static void _e_wid_del_hook(Evas_Object *obj);
diff --git a/src/bin/e_widget_toolbar.c b/src/bin/e_widget_toolbar.c
index e41a6f0d1e..d7d9c64e95 100644
--- a/src/bin/e_widget_toolbar.c
+++ b/src/bin/e_widget_toolbar.c
@@ -7,8 +7,8 @@ struct _E_Widget_Data
Evas_Object *o_base, *o_box;
int icon_w, icon_h;
Eina_List *items;
- Eina_Bool scrollable : 1;
- Eina_Bool focus_steal : 1;
+ Eina_Bool scrollable E_BITFIELD;
+ Eina_Bool focus_steal E_BITFIELD;
};
struct _Item
@@ -16,7 +16,7 @@ struct _Item
Evas_Object *o_toolbar, *o_base, *o_icon;
void (*func)(void *data1, void *data2);
const void *data1, *data2;
- Eina_Bool selected : 1;
+ Eina_Bool selected E_BITFIELD;
};
static void _e_wid_del_hook(Evas_Object *obj);
diff --git a/src/bin/e_win.c b/src/bin/e_win.c
index 8206cb87b3..a93151d077 100644
--- a/src/bin/e_win.c
+++ b/src/bin/e_win.c
@@ -10,13 +10,13 @@ typedef struct _Elm_Win_Trap_Ctx
E_Client *client;
E_Pointer *pointer;
int x, y, w, h;
- Eina_Bool centered : 1;
- Eina_Bool placed : 1;
- Eina_Bool sized : 1;
- Eina_Bool internal_no_remember : 1;
- Eina_Bool internal_no_reopen : 1;
- Eina_Bool visible : 1;
- Eina_Bool override : 1;
+ Eina_Bool centered E_BITFIELD;
+ Eina_Bool placed E_BITFIELD;
+ Eina_Bool sized E_BITFIELD;
+ Eina_Bool internal_no_remember E_BITFIELD;
+ Eina_Bool internal_no_reopen E_BITFIELD;
+ Eina_Bool visible E_BITFIELD;
+ Eina_Bool override E_BITFIELD;
} Elm_Win_Trap_Ctx;
diff --git a/src/bin/e_xsettings.c b/src/bin/e_xsettings.c
index f3bdab1b3b..d6ff6eb908 100644
--- a/src/bin/e_xsettings.c
+++ b/src/bin/e_xsettings.c
@@ -27,7 +27,7 @@ struct _Settings_Manager
Ecore_Timer *timer_retry;
unsigned long serial;
Ecore_X_Atom _atom_xsettings_screen;
- Eina_Bool enabled : 1;
+ Eina_Bool enabled E_BITFIELD;
};
struct _Setting
diff --git a/src/bin/e_zoomap.c b/src/bin/e_zoomap.c
index 682412fc69..41578e347c 100644
--- a/src/bin/e_zoomap.c
+++ b/src/bin/e_zoomap.c
@@ -11,9 +11,9 @@ struct _E_Smart_Data
Evas_Coord x, y, w, h;
Evas_Coord child_w, child_h;
unsigned int recurse;
- Eina_Bool solid : 1;
- Eina_Bool smooth : 1;
- Eina_Bool always : 1;
+ Eina_Bool solid E_BITFIELD;
+ Eina_Bool smooth E_BITFIELD;
+ Eina_Bool always E_BITFIELD;
};
/* local subsystem functions */
diff --git a/src/modules/conf_bindings/e_int_config_keybindings.c b/src/modules/conf_bindings/e_int_config_keybindings.c
index 14c987a300..e493e4e450 100644
--- a/src/modules/conf_bindings/e_int_config_keybindings.c
+++ b/src/modules/conf_bindings/e_int_config_keybindings.c
@@ -69,7 +69,7 @@ struct _E_Config_Dialog_Data
const char *binding, *action, *cur;
char *params;
int cur_act, add;
- Eina_Bool changed : 1;
+ Eina_Bool changed E_BITFIELD;
E_Grab_Dialog *eg;
} locals;
diff --git a/src/modules/conf_intl/e_int_config_intl.c b/src/modules/conf_intl/e_int_config_intl.c
index fe7c05eeea..7ef2bf2775 100644
--- a/src/modules/conf_intl/e_int_config_intl.c
+++ b/src/modules/conf_intl/e_int_config_intl.c
@@ -98,7 +98,7 @@ struct _E_Config_Dialog_Data
Evas_Object *locale_entry;
} gui;
- Eina_Bool desklock : 1;
+ Eina_Bool desklock E_BITFIELD;
};
const E_Intl_Pair basic_language_predefined_pairs[] = {
diff --git a/src/modules/conf_theme/e_int_config_theme.c b/src/modules/conf_theme/e_int_config_theme.c
index 7a3bd246f7..d69abaab3d 100644
--- a/src/modules/conf_theme/e_int_config_theme.c
+++ b/src/modules/conf_theme/e_int_config_theme.c
@@ -24,7 +24,7 @@ struct _E_Config_Dialog_Data
Eina_List *theme_init; /* list of eio ops to load themes */
Eina_List *themes; /* eet file refs to work around load locking */
int show_splash;
- Eina_Bool free : 1;
+ Eina_Bool free E_BITFIELD;
/* Dialog */
Evas_Object *win_import;
diff --git a/src/modules/connman/agent.c b/src/modules/connman/agent.c
index f227bc5a63..1c38600d90 100644
--- a/src/modules/connman/agent.c
+++ b/src/modules/connman/agent.c
@@ -37,7 +37,7 @@ struct _E_Connman_Agent
Eldbus_Service_Interface *iface;
Eldbus_Message *msg;
Eldbus_Connection *conn;
- Eina_Bool canceled:1;
+ Eina_Bool canceled E_BITFIELD;
};
static void
diff --git a/src/modules/everything/evry_view.c b/src/modules/everything/evry_view.c
index 9e2a33a43e..ae72d1bf05 100644
--- a/src/modules/everything/evry_view.c
+++ b/src/modules/everything/evry_view.c
@@ -63,13 +63,13 @@ struct _Item
Evas_Object *obj;
Evas_Coord x, y, w, h;
Evas_Object *frame, *image, *thumb;
- Eina_Bool selected : 1;
- Eina_Bool have_thumb : 1;
- Eina_Bool do_thumb : 1;
- Eina_Bool get_thumb : 1;
- Eina_Bool showing : 1;
- Eina_Bool visible : 1;
- Eina_Bool changed : 1;
+ Eina_Bool selected E_BITFIELD;
+ Eina_Bool have_thumb E_BITFIELD;
+ Eina_Bool do_thumb E_BITFIELD;
+ Eina_Bool get_thumb E_BITFIELD;
+ Eina_Bool showing E_BITFIELD;
+ Eina_Bool visible E_BITFIELD;
+ Eina_Bool changed E_BITFIELD;
int pos;
int max_w, max_h;
};
diff --git a/src/modules/fileman/e_fwin.c b/src/modules/fileman/e_fwin.c
index 12b474d7e6..624fda6425 100644
--- a/src/modules/fileman/e_fwin.c
+++ b/src/modules/fileman/e_fwin.c
@@ -37,7 +37,7 @@ struct _E_Fwin
Evas_Object *over_obj;
const char *wallpaper_file;
- Eina_Bool wallpaper_is_edj : 1;
+ Eina_Bool wallpaper_is_edj E_BITFIELD;
const char *overlay_file;
const char *scrollframe_file;
const char *theme_file;
@@ -75,7 +75,7 @@ struct _E_Fwin_Page
} fm_pan, fm_pan_last;
int index;
- Eina_Bool setting : 1;
+ Eina_Bool setting E_BITFIELD;
};
struct _E_Fwin_Apps_Dialog
diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c
index 8cff88492e..7455cc2a86 100644
--- a/src/modules/ibar/e_mod_main.c
+++ b/src/modules/ibar/e_mod_main.c
@@ -60,7 +60,7 @@ struct _IBar
IBar_Order *io;
Evas_Coord dnd_x, dnd_y;
IBar_Icon *menu_icon;
- Eina_Bool focused : 1;
+ Eina_Bool focused E_BITFIELD;
};
struct _IBar_Icon
@@ -83,14 +83,14 @@ struct _IBar_Icon
int mouse_down;
struct
{
- unsigned char start : 1;
- unsigned char dnd : 1;
+ unsigned char start E_BITFIELD;
+ unsigned char dnd E_BITFIELD;
int x, y;
} drag;
- Eina_Bool focused : 1;
- Eina_Bool not_in_order : 1;
- Eina_Bool menu_grabbed : 1;
- Eina_Bool starting : 1;
+ Eina_Bool focused E_BITFIELD;
+ Eina_Bool not_in_order E_BITFIELD;
+ Eina_Bool menu_grabbed E_BITFIELD;
+ Eina_Bool starting E_BITFIELD;
};
static IBar *_ibar_new(Evas_Object *parent, Instance *inst);
diff --git a/src/modules/ibox/e_mod_main.c b/src/modules/ibox/e_mod_main.c
index 7d0f4be558..23d4f153a8 100644
--- a/src/modules/ibox/e_mod_main.c
+++ b/src/modules/ibox/e_mod_main.c
@@ -63,8 +63,8 @@ struct _IBox_Icon
E_Client *client;
struct
{
- unsigned char start : 1;
- unsigned char dnd : 1;
+ unsigned char start E_BITFIELD;
+ unsigned char dnd E_BITFIELD;
int x, y;
int dx, dy;
} drag;
diff --git a/src/modules/lokker/lokker.c b/src/modules/lokker/lokker.c
index 82ea45d258..fb73cde72d 100644
--- a/src/modules/lokker/lokker.c
+++ b/src/modules/lokker/lokker.c
@@ -16,8 +16,8 @@ typedef struct Lokker_Popup
Evas_Object *comp_object;
Evas_Object *bg_object;
Evas_Object *login_box;
- Eina_Bool show_anim : 1;
- Eina_Bool hide_anim : 1;
+ Eina_Bool show_anim E_BITFIELD;
+ Eina_Bool hide_anim E_BITFIELD;
} Lokker_Popup;
typedef struct Lokker_Data
@@ -27,7 +27,7 @@ typedef struct Lokker_Data
Ecore_Event_Handler *move_handler;
char passwd[PASSWD_LEN];
int state;
- Eina_Bool selected : 1;
+ Eina_Bool selected E_BITFIELD;
} Lokker_Data;
static pid_t _auth_child_pid = -1;
diff --git a/src/modules/pager/e_mod_main.c b/src/modules/pager/e_mod_main.c
index 7b5505f8e1..a2f4f258bb 100644
--- a/src/modules/pager/e_mod_main.c
+++ b/src/modules/pager/e_mod_main.c
@@ -45,13 +45,13 @@ struct _Pager
int xnum, ynum;
Eina_List *desks;
Pager_Desk *active_pd;
- unsigned char dragging : 1;
- unsigned char just_dragged : 1;
+ unsigned char dragging E_BITFIELD;
+ unsigned char just_dragged E_BITFIELD;
Evas_Coord dnd_x, dnd_y;
Pager_Desk *active_drop_pd;
E_Client *active_drag_client;
Ecore_Job *recalc;
- Eina_Bool invert : 1;
+ Eina_Bool invert E_BITFIELD;
};
struct _Pager_Desk
@@ -62,12 +62,12 @@ struct _Pager_Desk
Evas_Object *o_desk;
Evas_Object *o_layout;
int xpos, ypos, urgent;
- int current : 1;
+ int current E_BITFIELD;
struct
{
Pager *from_pager;
- unsigned char in_pager : 1;
- unsigned char start : 1;
+ unsigned char in_pager E_BITFIELD;
+ unsigned char start E_BITFIELD;
int x, y, dx, dy, button;
} drag;
};
@@ -78,13 +78,13 @@ struct _Pager_Win
Pager_Desk *desk;
Evas_Object *o_window;
Evas_Object *o_mirror;
- unsigned char skip_winlist : 1;
+ unsigned char skip_winlist E_BITFIELD;
struct
{
Pager *from_pager;
- unsigned char start : 1;
- unsigned char in_pager : 1;
- unsigned char desktop : 1;
+ unsigned char start E_BITFIELD;
+ unsigned char in_pager E_BITFIELD;
+ unsigned char desktop E_BITFIELD;
int x, y, dx, dy, button;
} drag;
};
@@ -95,7 +95,7 @@ struct _Pager_Popup
Evas_Object *o_bg;
Pager *pager;
Ecore_Timer *timer;
- unsigned char urgent : 1;
+ unsigned char urgent E_BITFIELD;
};
static void _pager_cb_mirror_add(Pager_Desk *pd, Evas_Object *obj, Evas_Object *mirror);
diff --git a/src/modules/pager/gadget/pager.c b/src/modules/pager/gadget/pager.c
index 6c99b92f61..880198e6a0 100644
--- a/src/modules/pager/gadget/pager.c
+++ b/src/modules/pager/gadget/pager.c
@@ -23,12 +23,12 @@ struct _Pager
int xnum, ynum;
Eina_List *desks;
Pager_Desk *active_pd;
- unsigned char dragging : 1;
- unsigned char just_dragged : 1;
+ unsigned char dragging E_BITFIELD;
+ unsigned char just_dragged E_BITFIELD;
E_Client *active_drag_client;
Ecore_Job *recalc;
- Eina_Bool invert : 1;
- Eina_Bool plain : 1;
+ Eina_Bool invert E_BITFIELD;
+ Eina_Bool plain E_BITFIELD;
};
struct _Pager_Desk
@@ -40,12 +40,12 @@ struct _Pager_Desk
Evas_Object *o_layout;
Evas_Object *drop_handler;
int xpos, ypos, urgent;
- int current : 1;
+ int current E_BITFIELD;
struct
{
Pager *from_pager;
- unsigned char in_pager : 1;
- unsigned char start : 1;
+ unsigned char in_pager E_BITFIELD;
+ unsigned char start E_BITFIELD;
int x, y, dx, dy, button;
} drag;
};
@@ -57,13 +57,13 @@ struct _Pager_Win
Evas_Object *o_window;
Evas_Object *o_mirror;
Evas_Object *o_icon;
- unsigned char skip_winlist : 1;
+ unsigned char skip_winlist E_BITFIELD;
struct
{
Pager *from_pager;
- unsigned char start : 1;
- unsigned char in_pager : 1;
- unsigned char desktop : 1;
+ unsigned char start E_BITFIELD;
+ unsigned char in_pager E_BITFIELD;
+ unsigned char desktop E_BITFIELD;
int x, y, dx, dy, button;
} drag;
};
@@ -74,7 +74,7 @@ struct _Pager_Popup
Evas_Object *o_bg;
Pager *pager;
Ecore_Timer *timer;
- unsigned char urgent : 1;
+ unsigned char urgent E_BITFIELD;
};
static void _pager_cb_mirror_add(Pager_Desk *pd, Evas_Object *obj, Evas_Object *mirror);
diff --git a/src/modules/pager_plain/e_mod_main.c b/src/modules/pager_plain/e_mod_main.c
index 26089d1e9d..2d14edc39f 100644
--- a/src/modules/pager_plain/e_mod_main.c
+++ b/src/modules/pager_plain/e_mod_main.c
@@ -45,11 +45,11 @@ struct _Pager
int xnum, ynum;
Eina_List *desks;
Pager_Desk *active_pd;
- unsigned char dragging : 1;
- unsigned char just_dragged : 1;
+ unsigned char dragging E_BITFIELD;
+ unsigned char just_dragged E_BITFIELD;
Evas_Coord dnd_x, dnd_y;
Pager_Desk *active_drop_pd;
- Eina_Bool invert : 1;
+ Eina_Bool invert E_BITFIELD;
};
struct _Pager_Desk
@@ -61,12 +61,12 @@ struct _Pager_Desk
Evas_Object *o_layout;
Evas_Object *o_bg;
int xpos, ypos, urgent;
- int current : 1;
+ int current E_BITFIELD;
struct
{
Pager *from_pager;
- unsigned char in_pager : 1;
- unsigned char start : 1;
+ unsigned char in_pager E_BITFIELD;
+ unsigned char start E_BITFIELD;
int x, y, dx, dy, button;
} drag;
};
@@ -77,13 +77,13 @@ struct _Pager_Win
Pager_Desk *desk;
Evas_Object *o_window;
Evas_Object *o_icon;
- unsigned char skip_winlist : 1;
+ unsigned char skip_winlist E_BITFIELD;
struct
{
Pager *from_pager;
- unsigned char start : 1;
- unsigned char in_pager : 1;
- unsigned char desktop : 1;
+ unsigned char start E_BITFIELD;
+ unsigned char in_pager E_BITFIELD;
+ unsigned char desktop E_BITFIELD;
int x, y, dx, dy, button;
} drag;
};
@@ -94,7 +94,7 @@ struct _Pager_Popup
Pager *pager;
Evas_Object *o_bg;
Ecore_Timer *timer;
- unsigned char urgent : 1;
+ unsigned char urgent E_BITFIELD;
};
static void _pager_desk_livethumb_setup(Pager_Desk *pd);
diff --git a/src/modules/sysinfo/batman/batman_fallback.c b/src/modules/sysinfo/batman/batman_fallback.c
index fd6270e9db..4578079808 100644
--- a/src/modules/sysinfo/batman/batman_fallback.c
+++ b/src/modules/sysinfo/batman/batman_fallback.c
@@ -245,8 +245,8 @@ struct _Sys_Class_Power_Supply_Uevent
int basis_empty;
int basis_full;
- unsigned char have_current_avg : 1;
- unsigned char have_current_now : 1;
+ unsigned char have_current_avg E_BITFIELD;
+ unsigned char have_current_now E_BITFIELD;
};
static Eina_List *events = NULL;
diff --git a/src/modules/tasks/e_mod_main.c b/src/modules/tasks/e_mod_main.c
index eead41748f..d9abd487a8 100644
--- a/src/modules/tasks/e_mod_main.c
+++ b/src/modules/tasks/e_mod_main.c
@@ -47,10 +47,10 @@ struct _Tasks_Item
E_Client *client; // The client this item points to
Evas_Object *o_item; // The edje theme object
Evas_Object *o_icon; // The icon
- Eina_Bool skip_taskbar : 1;
- Eina_Bool focused : 1;
- Eina_Bool urgent : 1;
- Eina_Bool iconified : 1;
+ Eina_Bool skip_taskbar E_BITFIELD;
+ Eina_Bool focused E_BITFIELD;
+ Eina_Bool urgent E_BITFIELD;
+ Eina_Bool iconified E_BITFIELD;
};
static Tasks *_tasks_new(Evas *e, E_Zone *zone, const char *id);
diff --git a/src/modules/teamwork/e_mod_tw.c b/src/modules/teamwork/e_mod_tw.c
index d84543fcf8..e573a1c633 100644
--- a/src/modules/teamwork/e_mod_tw.c
+++ b/src/modules/teamwork/e_mod_tw.c
@@ -32,9 +32,9 @@ typedef struct Media
Eina_List *clients;
Eina_Stringshare *tmpfile;
Eina_Bool video;
- Eina_Bool dummy : 1;
- Eina_Bool valid : 1;
- Eina_Bool show : 1;
+ Eina_Bool dummy E_BITFIELD;
+ Eina_Bool valid E_BITFIELD;
+ Eina_Bool show E_BITFIELD;
} Media;
typedef enum
diff --git a/src/modules/tiling/e_mod_tiling.c b/src/modules/tiling/e_mod_tiling.c
index 2f38ebc5b5..324c6d4d0d 100644
--- a/src/modules/tiling/e_mod_tiling.c
+++ b/src/modules/tiling/e_mod_tiling.c
@@ -43,9 +43,9 @@ typedef struct Client_Extra
const char *bordername;
} orig;
int last_frame_adjustment; // FIXME: Hack for frame resize bug.
- Eina_Bool floating : 1;
- Eina_Bool tiled : 1;
- Eina_Bool tracked : 1;
+ Eina_Bool floating E_BITFIELD;
+ Eina_Bool tiled E_BITFIELD;
+ Eina_Bool tracked E_BITFIELD;
} Client_Extra;
typedef struct _Instance
diff --git a/src/modules/winlist/e_winlist.c b/src/modules/winlist/e_winlist.c
index 1b57383782..f9144f8cb4 100644
--- a/src/modules/winlist/e_winlist.c
+++ b/src/modules/winlist/e_winlist.c
@@ -9,8 +9,8 @@ struct _E_Winlist_Win
Evas_Object *bg_object;
Evas_Object *icon_object;
E_Client *client;
- unsigned char was_iconified : 1;
- unsigned char was_shaded : 1;
+ unsigned char was_iconified E_BITFIELD;
+ unsigned char was_shaded E_BITFIELD;
};
static void _e_winlist_size_adjust(void);
diff --git a/src/modules/wireless/connman.c b/src/modules/wireless/connman.c
index dbf079aebd..e9004328f3 100644
--- a/src/modules/wireless/connman.c
+++ b/src/modules/wireless/connman.c
@@ -56,9 +56,9 @@ typedef struct Connman_Technology
Eldbus_Proxy *proxy;
Eina_Stringshare *tethering_ssid;
Eina_Stringshare *tethering_passwd;
- Eina_Bool powered : 1;
- Eina_Bool connected : 1;
- Eina_Bool tethering : 1;
+ Eina_Bool powered E_BITFIELD;
+ Eina_Bool connected E_BITFIELD;
+ Eina_Bool tethering E_BITFIELD;
} Connman_Technology;
typedef struct
@@ -110,8 +110,8 @@ typedef struct
Eina_Stringshare *proxy_url;
Eina_Array *proxy_servers;
Eina_Array *proxy_excludes;
- Eina_Bool ipv6 : 1;
- Eina_Bool favorite : 1;
+ Eina_Bool ipv6 E_BITFIELD;
+ Eina_Bool favorite E_BITFIELD;
} Connman_Service;
typedef enum
diff --git a/src/modules/wireless/wireless.c b/src/modules/wireless/wireless.c
index f631e03cac..97fa6b3b2e 100644
--- a/src/modules/wireless/wireless.c
+++ b/src/modules/wireless/wireless.c
@@ -60,7 +60,7 @@ typedef struct Wireless_Auth_Popup
Evas_Object *popup;
Wireless_Auth_Cb cb;
void *data;
- Eina_Bool sent : 1;
+ Eina_Bool sent E_BITFIELD;
} Wireless_Auth_Popup;
static Eina_Array *wireless_networks;
diff --git a/src/modules/xwayland/dnd.c b/src/modules/xwayland/dnd.c
index 2c0594d82d..6841375483 100644
--- a/src/modules/xwayland/dnd.c
+++ b/src/modules/xwayland/dnd.c
@@ -39,7 +39,7 @@ typedef struct
Ecore_X_Atom selection;
Ecore_X_Atom property;
Eina_Binbuf *buf;
- Eina_Bool incr : 1;
+ Eina_Bool incr E_BITFIELD;
} Pipe;
static void