* 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.
#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
# 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
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)