From: Mike Blumenkrantz Date: Mon, 6 Jul 2015 18:29:30 +0000 (-0400) Subject: use ref macros to silence more printfs in e_remember X-Git-Tag: upstream/0.20.0~623 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=409bc5813135bfb5579d90f1fed5417c6b2be8ef;p=platform%2Fupstream%2Fenlightenment.git use ref macros to silence more printfs in e_remember --- diff --git a/src/bin/e_remember.c b/src/bin/e_remember.c index 83902e2..1beb10b 100644 --- a/src/bin/e_remember.c +++ b/src/bin/e_remember.c @@ -391,7 +391,7 @@ static void _e_remember_event_free(void *d EINA_UNUSED, void *event) { E_Event_Remember_Update *ev = event; - printf("unref10: %p\n", ev->ec); + UNREFD(ev->ec, 10); e_object_unref(E_OBJECT(ev->ec)); free(ev); } @@ -498,7 +498,7 @@ _e_remember_update(E_Client *ec, E_Remember *rem) ev = malloc(sizeof(E_Event_Remember_Update)); if (!ev) return; ev->ec = ec; - printf("ref10: %p\n", ec); + REFD(ec, 10); e_object_ref(E_OBJECT(ec)); ecore_event_add(E_EVENT_REMEMBER_UPDATE, ev, _e_remember_event_free, NULL); }