summaryrefslogtreecommitdiff
path: root/gtk/gtktextbtree.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2002-02-13 23:44:03 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-02-13 23:44:03 +0000
commita760ad804e1603ca6ee7e164e6cc5dc12e0f3b41 (patch)
tree9045f4a60cf810a3111e4a6e428a4e12f20b9458 /gtk/gtktextbtree.h
parent3a4a6edb79fc111a343f2caa7892787c74416e6a (diff)
downloadgtk+-a760ad804e1603ca6ee7e164e6cc5dc12e0f3b41.tar.gz
just go ahead and flush all the first validate stuff if it hasn't been
2002-02-13 Havoc Pennington <hp@redhat.com> * gtk/gtktextview.c (gtk_text_view_paint): just go ahead and flush all the first validate stuff if it hasn't been done, presumably someone called process_updates at a weird time. * tests/testtext.c (do_apply_colors): terminate on >= end, not > end, avoids infinite loop when end is at the end of the buffer. * gtk/gtktextbtree.c (_gtk_text_btree_delete): when creating a line data, we were adding it to the wrong line ("line" instead of "start_line")
Diffstat (limited to 'gtk/gtktextbtree.h')
-rw-r--r--gtk/gtktextbtree.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk/gtktextbtree.h b/gtk/gtktextbtree.h
index b3ae5fb93f..dea958ec37 100644
--- a/gtk/gtktextbtree.h
+++ b/gtk/gtktextbtree.h
@@ -1,6 +1,16 @@
#ifndef GTK_TEXT_BTREE_H
#define GTK_TEXT_BTREE_H
+#if 0
+#define DEBUG_VALIDATION_AND_SCROLLING
+#endif
+
+#ifdef DEBUG_VALIDATION_AND_SCROLLING
+#define DV(x) (x)
+#else
+#define DV(x)
+#endif
+
#include <gtk/gtktextbuffer.h>
#include <gtk/gtktexttag.h>
#include <gtk/gtktextmark.h>