forked from enlightenment/efl
edje - DBG print for the invalid part name
SVN revision: 69313
This commit is contained in:
parent
ba9f6c43f6
commit
3037b4b4d4
|
@ -3294,7 +3294,7 @@ EAPI void *edje_object_text_markup_filter_callback_del_full(Evas_Object *obj, co
|
|||
* If an object has already been swallowed into this part, then it
|
||||
* will first be unswallowed before the new object is swallowed.
|
||||
*/
|
||||
EAPI Eina_Bool edje_object_part_swallow (Evas_Object *obj, const char *part, Evas_Object *obj_swallow);
|
||||
EAPI Eina_Bool edje_object_part_swallow (Evas_Object *obj, const char *part, Evas_Object *obj_swallow) EINA_WARN_UNUSED_RESULT;
|
||||
|
||||
/**
|
||||
* @brief Unswallow an object.
|
||||
|
|
|
@ -76,7 +76,7 @@ void *alloca (size_t);
|
|||
|
||||
#include "Edje.h"
|
||||
|
||||
EAPI extern int _edje_default_log_dom ;
|
||||
EAPI extern int _edje_default_log_dom ;
|
||||
|
||||
#ifdef EDJE_DEFAULT_LOG_COLOR
|
||||
# undef EDJE_DEFAULT_LOG_COLOR
|
||||
|
@ -98,6 +98,10 @@ EAPI extern int _edje_default_log_dom ;
|
|||
# undef CRIT
|
||||
#endif
|
||||
#define CRIT(...) EINA_LOG_DOM_CRIT(_edje_default_log_dom, __VA_ARGS__)
|
||||
#ifdef DBG
|
||||
# undef DBG
|
||||
#endif
|
||||
#define DBG(...) EINA_LOG_DOM_DBG(_edje_default_log_dom, __VA_ARGS__)
|
||||
#ifdef __GNUC__
|
||||
# if __GNUC__ >= 4
|
||||
// BROKEN in gcc 4 on amd64
|
||||
|
|
|
@ -2295,7 +2295,7 @@ edje_object_part_swallow(Evas_Object *obj, const char *part, Evas_Object *obj_sw
|
|||
rp = _edje_real_part_recursive_get(ed, part);
|
||||
if (!rp)
|
||||
{
|
||||
ERR("cannot swallow part %s: part not exist!", part);
|
||||
DBG("cannot swallow part %s: part not exist!", part);
|
||||
return EINA_FALSE;
|
||||
}
|
||||
if (rp->part->type != EDJE_PART_TYPE_SWALLOW)
|
||||
|
|
Loading…
Reference in New Issue