From: barbieri Date: Thu, 25 Mar 2010 17:30:59 +0000 (+0000) Subject: convert some printfs to eina error. X-Git-Tag: 2.0_alpha~163^2~598 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=edc6af550837782fe3f05d2d79d1c4c766c78713;p=framework%2Fuifw%2Fedje.git convert some printfs to eina error. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47451 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/edje_calc.c b/src/lib/edje_calc.c index 0274ae2..1dafadb 100644 --- a/src/lib/edje_calc.c +++ b/src/lib/edje_calc.c @@ -1463,7 +1463,7 @@ _edje_box_recalc_apply(Edje *ed __UNUSED__, Edje_Real_Part *ep, Edje_Calc_Params if ((!chosen_desc->box.alt_layout) || (!_edje_box_layout_find(chosen_desc->box.alt_layout, &layout, &data, &free_data))) { - ERR("ERROR: box layout '%s' (fallback '%s') not available, using horizontal.", + ERR("box layout '%s' (fallback '%s') not available, using horizontal.", chosen_desc->box.layout, chosen_desc->box.alt_layout); layout = evas_object_box_layout_horizontal; free_data = NULL; diff --git a/src/lib/edje_main.c b/src/lib/edje_main.c index 43907b9..ea7e2cf 100644 --- a/src/lib/edje_main.c +++ b/src/lib/edje_main.c @@ -100,7 +100,7 @@ edje_init(void) sizeof (Edje_Real_Part), 128); if (!_edje_real_part_mp) { - ERR("ERROR: Mempool for Edje_Real_Part cannot be allocated.\n"); + ERR("Mempool for Edje_Real_Part cannot be allocated."); goto shutdown_eet; } @@ -109,7 +109,7 @@ edje_init(void) sizeof (Edje_Real_Part_State), 256); if (!_edje_real_part_state_mp) { - ERR("ERROR: Mempool for Edje_Real_Part_State cannot be allocated.\n"); + ERR("Mempool for Edje_Real_Part_State cannot be allocated."); goto shutdown_eet; } diff --git a/src/lib/edje_util.c b/src/lib/edje_util.c index ed8492d..4d732e8 100644 --- a/src/lib/edje_util.c +++ b/src/lib/edje_util.c @@ -2083,8 +2083,7 @@ edje_object_part_swallow(Evas_Object *obj, const char *part, Evas_Object *obj_sw if (!rp) return EINA_FALSE; if (rp->part->type != EDJE_PART_TYPE_SWALLOW) { - fprintf(stderr, "ERROR: cannot unswallow part %s: not swallow type!\n", - rp->part->name); + ERR("cannot unswallow part %s: not swallow type!", rp->part->name); return EINA_FALSE; } _edje_real_part_swallow(rp, obj_swallow); @@ -2430,8 +2429,7 @@ edje_object_part_unswallow(Evas_Object *obj __UNUSED__, Evas_Object *obj_swallow return; if (rp->part->type != EDJE_PART_TYPE_SWALLOW) { - fprintf(stderr, "ERROR: cannot unswallow part %s: not swallow type!\n", - rp->part->name); + ERR("cannot unswallow part %s: not swallow type!", rp->part->name); return; } if (rp->swallowed_object == obj_swallow)