forked from enlightenment/enlightenment
E_LIST_HANDLER_APPEND now assert()s the event handler
SVN revision: 82521
This commit is contained in:
parent
8345d7d6d4
commit
7a7ceb7429
|
@ -1,3 +1,7 @@
|
||||||
|
2013-01-10 Mike Blumenkrantz
|
||||||
|
|
||||||
|
* E_LIST_HANDLER_APPEND macro now asserts the event handler to make debugging easier
|
||||||
|
|
||||||
2013-01-10 Deon Thomas
|
2013-01-10 Deon Thomas
|
||||||
|
|
||||||
* Fixed bug with desktop config profile where conf module version variable was misnamed
|
* Fixed bug with desktop config profile where conf module version variable was misnamed
|
||||||
|
|
1
NEWS
1
NEWS
|
@ -50,6 +50,7 @@ Improvements:
|
||||||
* "System Default" language in wizard now displays which language it is and no longer removes language from list
|
* "System Default" language in wizard now displays which language it is and no longer removes language from list
|
||||||
* Desktop->Shelves menu now shows shelf names
|
* Desktop->Shelves menu now shows shelf names
|
||||||
* geometry_auto_move option now also corrects applications which fail in their attempts to center windows
|
* geometry_auto_move option now also corrects applications which fail in their attempts to center windows
|
||||||
|
* E_LIST_HANDLER_APPEND macro now asserts the event handler to make debugging easier
|
||||||
|
|
||||||
Fixes:
|
Fixes:
|
||||||
* Force check changed upon confirmation dialog closure for engine settings.
|
* Force check changed upon confirmation dialog closure for engine settings.
|
||||||
|
|
|
@ -213,10 +213,8 @@ typedef struct _E_Rect E_Rect;
|
||||||
{ \
|
{ \
|
||||||
Ecore_Event_Handler *_eh; \
|
Ecore_Event_Handler *_eh; \
|
||||||
_eh = ecore_event_handler_add(type, (Ecore_Event_Handler_Cb)callback, data); \
|
_eh = ecore_event_handler_add(type, (Ecore_Event_Handler_Cb)callback, data); \
|
||||||
if (_eh) \
|
assert(_eh); \
|
||||||
list = eina_list_append(list, _eh); \
|
list = eina_list_append(list, _eh); \
|
||||||
else \
|
|
||||||
fprintf(stderr, "E_LIST_HANDLER_APPEND\n"); \
|
|
||||||
} \
|
} \
|
||||||
while (0)
|
while (0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue