forked from enlightenment/efl
parent
ce4a431e4d
commit
e392db30e3
|
@ -950,18 +950,6 @@ EAPI extern const Eo_Event_Description _EO_EV_CALLBACK_DEL;
|
||||||
*/
|
*/
|
||||||
#define EO_EV_CALLBACK_DEL (&(_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
|
* @var _EO_EV_DEL
|
||||||
* see #EO_EV_DEL
|
* see #EO_EV_DEL
|
||||||
|
|
|
@ -1110,12 +1110,6 @@ _eo_unref(Eo *obj)
|
||||||
if (--(obj->refcount) == 0)
|
if (--(obj->refcount) == 0)
|
||||||
{
|
{
|
||||||
_eo_del_internal(obj);
|
_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
|
#ifndef NDEBUG
|
||||||
/* If for some reason it's not empty, clear it. */
|
/* If for some reason it's not empty, clear it. */
|
||||||
|
|
|
@ -231,8 +231,6 @@ EAPI const Eo_Event_Description _EO_EV_CALLBACK_ADD =
|
||||||
EO_EVENT_DESCRIPTION("callback,add", "?", "A callback was added.");
|
EO_EVENT_DESCRIPTION("callback,add", "?", "A callback was added.");
|
||||||
EAPI const Eo_Event_Description _EO_EV_CALLBACK_DEL =
|
EAPI const Eo_Event_Description _EO_EV_CALLBACK_DEL =
|
||||||
EO_EVENT_DESCRIPTION("callback,del", "?", "A callback was deleted.");
|
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 =
|
EAPI const Eo_Event_Description _EO_EV_DEL =
|
||||||
EO_EVENT_DESCRIPTION("del", "", "Obj is being deleted.");
|
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[] = {
|
static const Eo_Event_Description *event_desc[] = {
|
||||||
EO_EV_CALLBACK_ADD,
|
EO_EV_CALLBACK_ADD,
|
||||||
EO_EV_CALLBACK_DEL,
|
EO_EV_CALLBACK_DEL,
|
||||||
EO_EV_FREE,
|
|
||||||
EO_EV_DEL,
|
EO_EV_DEL,
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue