summaryrefslogtreecommitdiff
path: root/gtk/gtktextview.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2001-03-07 21:55:02 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-03-07 21:55:02 +0000
commit1cdba8834040571ecddf3db5756145a3c6febf82 (patch)
treeb271376aae764a7930cde4ffb14c87d0019548ed /gtk/gtktextview.h
parent29b902a4817e3a4caed166e698f1dda35c8b7ed9 (diff)
downloadgtk+-1cdba8834040571ecddf3db5756145a3c6febf82.tar.gz
use PRIORITY_VALIDATE
2001-03-07 Havoc Pennington <hp@redhat.com> * gtk/gtktextview.c (invalidated_handler): use PRIORITY_VALIDATE * gtk/gtktextview.h (GTK_TEXT_VIEW_PRIORITY_VALIDATE): add this here, bug #50368; changed to be GDK_PRIORITY_REDRAW + 5, instead of GDK_PRIORITY_REDRAW + 1, so you can insert stuff in between the validation and the redraw which is higher priority than the validation.
Diffstat (limited to 'gtk/gtktextview.h')
-rw-r--r--gtk/gtktextview.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtktextview.h b/gtk/gtktextview.h
index 02b9d11c12..b60ccd9719 100644
--- a/gtk/gtktextview.h
+++ b/gtk/gtktextview.h
@@ -53,6 +53,8 @@ typedef enum
GTK_TEXT_WINDOW_BOTTOM
} GtkTextWindowType;
+#define GTK_TEXT_VIEW_PRIORITY_VALIDATE (GDK_PRIORITY_REDRAW + 5)
+
typedef struct _GtkTextView GtkTextView;
typedef struct _GtkTextViewClass GtkTextViewClass;