diff console/libgnt/gnttree.h @ 14876:70623f0d5cdc

[gaim-migrate @ 17645] Use terminfo/termcap information (from ncurses) as much as possible. There still need to be some manual 'refinement' based on $TERM. I'll see if I can get rid of those. Also, I am probably going to allow users to provide information that terminfo can't provide, like the keycode for ctrl+up etc. Let me know if any of the keybinding doesn't work. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 01 Nov 2006 03:38:23 +0000
parents 97977138cf29
children c01f62c83647
line wrap: on
line diff
--- a/console/libgnt/gnttree.h	Wed Nov 01 02:13:37 2006 +0000
+++ b/console/libgnt/gnttree.h	Wed Nov 01 03:38:23 2006 +0000
@@ -7,6 +7,10 @@
 #include "gntkeys.h"
 #include "gnttextview.h"
 
+#ifdef columns
+#undef columns
+#endif
+
 #define GNT_TYPE_TREE				(gnt_tree_get_gtype())
 #define GNT_TREE(obj)				(G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_TREE, GntTree))
 #define GNT_TREE_CLASS(klass)		(G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_TREE, GntTreeClass))