diff options
author | fcolin | 2006-04-20 15:51:37 +0000 |
---|---|---|
committer | fcolin | 2006-04-20 15:51:37 +0000 |
commit | d20808b04feb328272a35ee2b03f4ae19db23fbe (patch) | |
tree | 070f5efb4b7f9b4603a8d2d830c8ef5210495572 /src/ivyxtloop.c | |
parent | 68372c19d14986d372918cd268d5855fd7665fc3 (diff) | |
download | ivy-c-d20808b04feb328272a35ee2b03f4ae19db23fbe.zip ivy-c-d20808b04feb328272a35ee2b03f4ae19db23fbe.tar.gz ivy-c-d20808b04feb328272a35ee2b03f4ae19db23fbe.tar.bz2 ivy-c-d20808b04feb328272a35ee2b03f4ae19db23fbe.tar.xz |
cleanup DEBUG code
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); } |