Eo: Removed the object freed event.

SVN revision: 70989
This commit is contained in:
Tom Hacohen 2012-05-14 07:35:14 +00:00
parent ce4a431e4d
commit e392db30e3
3 changed files with 0 additions and 21 deletions

View File

@ -950,18 +950,6 @@ EAPI extern const Eo_Event_Description _EO_EV_CALLBACK_DEL;
*/
#define EO_EV_CALLBACK_DEL (&(_EO_EV_CALLBACK_DEL))
/**
* @var _EO_EV_FREE
* see #EO_EV_FREE
*/
EAPI extern const Eo_Event_Description _EO_EV_FREE;
/**
* @def EO_EV_FREE
* Object is being freed.
*/
#define EO_EV_FREE (&(_EO_EV_FREE))
/**
* @var _EO_EV_DEL
* see #EO_EV_DEL

View File

@ -1110,12 +1110,6 @@ _eo_unref(Eo *obj)
if (--(obj->refcount) == 0)
{
_eo_del_internal(obj);
/* We need that for the event callbacks that may ref/unref. */
obj->refcount++;
eo_event_callback_call(obj, EO_EV_FREE, NULL);
obj->refcount--;
#ifndef NDEBUG
/* If for some reason it's not empty, clear it. */

View File

@ -231,8 +231,6 @@ EAPI const Eo_Event_Description _EO_EV_CALLBACK_ADD =
EO_EVENT_DESCRIPTION("callback,add", "?", "A callback was added.");
EAPI const Eo_Event_Description _EO_EV_CALLBACK_DEL =
EO_EVENT_DESCRIPTION("callback,del", "?", "A callback was deleted.");
EAPI const Eo_Event_Description _EO_EV_FREE =
EO_EVENT_DESCRIPTION("free", "", "Obj is being freed.");
EAPI const Eo_Event_Description _EO_EV_DEL =
EO_EVENT_DESCRIPTION("del", "", "Obj is being deleted.");
@ -278,7 +276,6 @@ static const Eo_Op_Description op_desc[] = {
static const Eo_Event_Description *event_desc[] = {
EO_EV_CALLBACK_ADD,
EO_EV_CALLBACK_DEL,
EO_EV_FREE,
EO_EV_DEL,
NULL
};