summaryrefslogtreecommitdiff
path: root/framebuffer/fbtk/fbtk.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2011-03-21 07:51:37 +0000
committerVincent Sanders <vince@netsurf-browser.org>2011-03-21 07:51:37 +0000
commit06764ea9f0fd3c7f851bd16a2229cda74c4ebb55 (patch)
tree4e928314916df96bf0896c226b8d3ffd5f3555be /framebuffer/fbtk/fbtk.c
parent7ec2cc7f8ee03a02662f5071164f7939dd44b8f3 (diff)
downloadnetsurf-06764ea9f0fd3c7f851bd16a2229cda74c4ebb55.tar.gz
netsurf-06764ea9f0fd3c7f851bd16a2229cda74c4ebb55.tar.bz2
add control of fbtk text widget padding
svn path=/trunk/netsurf/; revision=12116
Diffstat (limited to 'framebuffer/fbtk/fbtk.c')
-rw-r--r--framebuffer/fbtk/fbtk.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/framebuffer/fbtk/fbtk.c b/framebuffer/fbtk/fbtk.c
index 5aef6bd45..f38f6adda 100644
--- a/framebuffer/fbtk/fbtk.c
+++ b/framebuffer/fbtk/fbtk.c
@@ -43,6 +43,8 @@
#include "widget.h"
+#ifdef FBTK_LOGGING
+
/* tree dump debug, also example of depth first tree walk */
static void
dump_tk_tree(fbtk_widget_t *widget)
@@ -73,6 +75,8 @@ dump_tk_tree(fbtk_widget_t *widget)
}
}
+#endif
+
/* exported function documented in fbtk.h */
void
fbtk_request_redraw(fbtk_widget_t *widget)