Remove other definitions at files except for e.h file.
Change-Id: I04a114bebae1f2253fc6ebd74e819efee68ddd4e
} \
while (0)
+#define E_CLIENT_HOOK_APPEND(list, type, callback, data) \
+ do \
+ { \
+ E_Client_Hook *_ch; \
+ _ch = e_client_hook_add(type, callback, data); \
+ assert(_ch); \
+ list = eina_list_append(list, _ch); \
+ } \
+ while (0)
+
# define E_CLAMP(x, min, max) (x < min ? min : (x > max ? max : x))
# define E_RECTS_CLIP_TO_RECT(_x, _y, _w, _h, _cx, _cy, _cw, _ch) \
{ \
return consumer_ec_l;
}
-#undef E_CLIENT_HOOK_APPEND
-#define E_CLIENT_HOOK_APPEND(l, t, cb, d) \
- do \
- { \
- E_Client_Hook *_h; \
- _h = e_client_hook_add(t, cb, d); \
- assert(_h); \
- l = eina_list_append(l, _h); \
- } \
- while (0)
-
EINTERN void
e_comp_wl_remote_surface_init(void)
{
}
-#undef E_CLIENT_HOOK_APPEND
-#define E_CLIENT_HOOK_APPEND(l, t, cb, d) \
- do \
- { \
- E_Client_Hook *_h; \
- _h = e_client_hook_add(t, cb, d); \
- assert(_h); \
- l = eina_list_append(l, _h); \
- } \
- while (0)
-
#undef E_PIXMAP_HOOK_APPEND
#define E_PIXMAP_HOOK_APPEND(l, t, cb, d) \
do \
eldbus_connection_send(_e_display_dbus_info.edbus_conn, msg, NULL, NULL, -1);
}
-#undef E_CLIENT_HOOK_APPEND
-#define E_CLIENT_HOOK_APPEND(l, t, cb, d) \
- do \
- { \
- E_Client_Hook *_h; \
- _h = e_client_hook_add(t, cb, d); \
- assert(_h); \
- l = eina_list_append(l, _h); \
- } \
- while (0)
-
Eina_Bool
e_policy_display_init(void)
{
EC_CHANGED(ec);
}
-#undef E_CLIENT_HOOK_APPEND
-#define E_CLIENT_HOOK_APPEND(l, t, cb, d) \
- do \
- { \
- E_Client_Hook *_h; \
- _h = e_client_hook_add(t, cb, d); \
- assert(_h); \
- l = eina_list_append(l, _h); \
- } \
- while (0)
-
/* NOTE: supported single client for cbhm for now. */
EINTERN void
e_service_cbhm_client_set(E_Client *ec)
return type;
}
-#undef E_CLIENT_HOOK_APPEND
-#define E_CLIENT_HOOK_APPEND(l, t, cb, d) \
- do \
- { \
- E_Client_Hook *_h; \
- _h = e_client_hook_add(t, cb, d); \
- assert(_h); \
- l = eina_list_append(l, _h); \
- } \
- while (0)
-
/* window for quickpanel service */
EINTERN void
e_service_quickpanel_client_add(E_Client *ec, E_Service_Quickpanel_Type type)