Eo: Improved checks in signals example.

SVN revision: 71662
This commit is contained in:
Tom Hacohen 2012-06-03 13:33:04 +00:00
parent ac270da3bb
commit d07f3da945
1 changed files with 2 additions and 0 deletions

View File

@ -105,7 +105,9 @@ main(int argc, char *argv[])
fail_if(fcount != 0);
eo_do(obj, eo_event_callback_del(EV_A_CHANGED, _a_changed_cb, (void *) 1));
fail_if(pd->cb_count != 0);
eo_do(obj, eo_event_callback_del(EV_A_CHANGED, _a_changed_cb, (void *) 2));
fail_if(pd->cb_count != -1);
/* Global Freeze/thaw. */
fcount = 0;