cleanup printf's

SVN revision: 7292
This commit is contained in:
Carsten Haitzler 2003-08-05 22:56:29 +00:00
parent 516e43fc09
commit c74aee15ef
2 changed files with 7 additions and 7 deletions

View File

@ -48,7 +48,7 @@ edje_object_file_set(Evas_Object *obj, const char *file, const char *part)
ep->dragable.confine_id); ep->dragable.confine_id);
if (evas_list_find(hist, ep)) if (evas_list_find(hist, ep))
{ {
printf("EDJE FIXME: ERROR! confine_to loops. invalidating loop.\n"); printf("EDJE ERROR: confine_to loops. invalidating loop.\n");
ep->dragable.confine_id = -1; ep->dragable.confine_id = -1;
break; break;
} }
@ -63,7 +63,7 @@ edje_object_file_set(Evas_Object *obj, const char *file, const char *part)
ep->clip_to_id); ep->clip_to_id);
if (evas_list_find(hist, ep)) if (evas_list_find(hist, ep))
{ {
printf("EDJE FIXME: ERROR! clip_to loops. invalidating loop.\n"); printf("EDJE ERROR: clip_to loops. invalidating loop.\n");
ep->clip_to_id = -1; ep->clip_to_id = -1;
break; break;
} }
@ -87,7 +87,7 @@ edje_object_file_set(Evas_Object *obj, const char *file, const char *part)
rp->param1.description = ep->default_desc; rp->param1.description = ep->default_desc;
if (!rp->param1.description) if (!rp->param1.description)
{ {
printf("EDJE FIXME: ERROR! no default part description!\n"); printf("EDJE ERROR: no default part description!\n");
} }
_edje_text_part_on_add(ed, rp); _edje_text_part_on_add(ed, rp);
if (ep->type == EDJE_PART_TYPE_RECTANGLE) if (ep->type == EDJE_PART_TYPE_RECTANGLE)
@ -98,7 +98,7 @@ edje_object_file_set(Evas_Object *obj, const char *file, const char *part)
rp->object = evas_object_text_add(ed->evas); rp->object = evas_object_text_add(ed->evas);
else else
{ {
printf("EDJE FIXME: ERROR! wrong part type %i!\n", ep->type); printf("EDJE ERROR: wrong part type %i!\n", ep->type);
} }
evas_object_smart_member_add(rp->object, ed->obj); evas_object_smart_member_add(rp->object, ed->obj);
if (ep->mouse_events) if (ep->mouse_events)
@ -262,7 +262,6 @@ edje_file_data_get(const char *file, const char *key)
} }
else else
ed_file->references++; ed_file->references++;
printf("beh\n");
for (l = ed_file->data; l; l = l->next) for (l = ed_file->data; l; l = l->next)
{ {
Edje_Data *di; Edje_Data *di;
@ -270,7 +269,6 @@ edje_file_data_get(const char *file, const char *key)
di = l->data; di = l->data;
if (!strcmp(di->key, key)) if (!strcmp(di->key, key))
{ {
printf("STR: %s\n", di->key);
str = strdup(di->value); str = strdup(di->value);
break; break;
} }

View File

@ -324,6 +324,8 @@ _edje_program_run(Edje *ed, Edje_Program *pr, int force)
} }
if ((recursions >= 64) || (recursion_limit)) if ((recursions >= 64) || (recursion_limit))
{ {
printf("EDJE ERROR: programs recursing up to recursion limit of %i. Disabled.\n",
64);
recursion_limit = 1; recursion_limit = 1;
return; return;
} }
@ -472,7 +474,7 @@ _edje_emit(Edje *ed, char *sig, char *src)
recursions++; recursions++;
_edje_ref(ed); _edje_ref(ed);
_edje_freeze(ed); _edje_freeze(ed);
printf("EMIT \"%s\" \"%s\"\n", sig, src); printf("EDJE EMIT: signal: \"%s\" source: \"%s\"\n", sig, src);
ee = calloc(1, sizeof(Edje_Emission)); ee = calloc(1, sizeof(Edje_Emission));
if (!ee) if (!ee)
{ {