Commit ad53af09 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mihai Moldovan

Events.c: add ifdef around nxagentRemoteWindowsTree

It is called only if DEBUG_TREE is defined.
parent cdaec755
...@@ -417,6 +417,8 @@ void nxagentRemoteWindowInfo(Window win, int indent, Bool newLine) ...@@ -417,6 +417,8 @@ void nxagentRemoteWindowInfo(Window win, int indent, Bool newLine)
} }
} }
#ifdef DEBUG_TREE
/* /*
* Walk remote windows tree. * Walk remote windows tree.
*/ */
...@@ -480,6 +482,7 @@ void nxagentRemoteWindowsTree(Window window, int level) ...@@ -480,6 +482,7 @@ void nxagentRemoteWindowsTree(Window window, int level)
XFree((char *) childList); XFree((char *) childList);
} }
} }
#endif
/* /*
* Print info about internal window. * Print info about internal window.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment