From d20808b04feb328272a35ee2b03f4ae19db23fbe Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 20 Apr 2006 15:51:37 +0000 Subject: cleanup DEBUG code --- src/ivyxtloop.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/ivyxtloop.c') diff --git a/src/ivyxtloop.c b/src/ivyxtloop.c index 2764fe4..b09ccee 100644 --- a/src/ivyxtloop.c +++ b/src/ivyxtloop.c @@ -39,6 +39,7 @@ #include +#include "ivydebug.h" #include "ivychannel.h" #include "ivyxtloop.h" @@ -92,18 +93,14 @@ void IvyXtChannelClose( Channel channel ) static void IvyXtHandleChannelRead( XtPointer closure, int* source, XtInputId* id ) { Channel channel = (Channel)closure; -#ifdef DEBUG - printf("Handle Channel read %d\n",*source ); -#endif + TRACE("Handle Channel read %d\n",*source ); (*channel->handle_read)(channel,*source,channel->data); } static void IvyXtHandleChannelDelete( XtPointer closure, int* source, XtInputId* id ) { Channel channel = (Channel)closure; -#ifdef DEBUG - printf("Handle Channel delete %d\n",*source ); -#endif + TRACE("Handle Channel delete %d\n",*source ); (*channel->handle_delete)(channel->data); } -- cgit v1.1