diff options
Diffstat (limited to 'src/ivyxtloop.c')
-rw-r--r-- | src/ivyxtloop.c | 9 |
1 files changed, 3 insertions, 6 deletions
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 <X11/Intrinsic.h> +#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); } |