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.
This commit is contained in:
Havoc Pennington 2001-03-07 21:55:02 +00:00 committed by Havoc Pennington
parent 29b902a481
commit 1cdba88340
9 changed files with 73 additions and 1 deletions

View File

@ -1,3 +1,13 @@
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.
2001-03-07 Havoc Pennington <hp@redhat.com>
* gtk/gtkentry.c (gtk_entry_get_property): remove trailer

View File

@ -1,3 +1,13 @@
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.
2001-03-07 Havoc Pennington <hp@redhat.com>
* gtk/gtkentry.c (gtk_entry_get_property): remove trailer

View File

@ -1,3 +1,13 @@
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.
2001-03-07 Havoc Pennington <hp@redhat.com>
* gtk/gtkentry.c (gtk_entry_get_property): remove trailer

View File

@ -1,3 +1,13 @@
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.
2001-03-07 Havoc Pennington <hp@redhat.com>
* gtk/gtkentry.c (gtk_entry_get_property): remove trailer

View File

@ -1,3 +1,13 @@
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.
2001-03-07 Havoc Pennington <hp@redhat.com>
* gtk/gtkentry.c (gtk_entry_get_property): remove trailer

View File

@ -1,3 +1,13 @@
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.
2001-03-07 Havoc Pennington <hp@redhat.com>
* gtk/gtkentry.c (gtk_entry_get_property): remove trailer

View File

@ -1,3 +1,13 @@
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.
2001-03-07 Havoc Pennington <hp@redhat.com>
* gtk/gtkentry.c (gtk_entry_get_property): remove trailer

View File

@ -2554,7 +2554,7 @@ invalidated_handler (GtkTextLayout *layout,
text_view->first_validate_idle = g_idle_add_full (GTK_PRIORITY_RESIZE - 1, first_validate_callback, text_view, NULL);
if (!text_view->incremental_validate_idle)
text_view->incremental_validate_idle = g_idle_add_full (GDK_PRIORITY_REDRAW + 1, incremental_validate_callback, text_view, NULL);
text_view->incremental_validate_idle = g_idle_add_full (GTK_TEXT_VIEW_PRIORITY_VALIDATE, incremental_validate_callback, text_view, NULL);
}
static void

View File

@ -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;