diff options
author | Anders Carlsson <andersca@imendio.com> | 2005-05-18 17:10:46 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@src.gnome.org> | 2005-05-18 17:10:46 +0000 |
commit | 43af1f21b975293139fcda3ce99601d19ba17985 (patch) | |
tree | 2b9638ce6ae09bf23d84902bc36d4f3103ece698 /gtk/gtktextview.h | |
parent | e9e878d1bc40e7a20d307b68ae882a812bcbe5ec (diff) | |
download | gtk+-43af1f21b975293139fcda3ce99601d19ba17985.tar.gz |
If the horizontal adjustment changes because of a change in the layout
2005-05-18 Anders Carlsson <andersca@imendio.com>
* gtk/gtktextview.c: (gtk_text_view_flush_scroll),
(gtk_text_view_update_adjustments), (gtk_text_view_value_changed):
* gtk/gtktextview.h:
If the horizontal adjustment changes because of a change in the
layout width, then do a complete redraw. This is because there
might be right-aligned or centered text that needs to be redrawn.
Diffstat (limited to 'gtk/gtktextview.h')
-rw-r--r-- | gtk/gtktextview.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtktextview.h b/gtk/gtktextview.h index ff3a67c800..9062935330 100644 --- a/gtk/gtktextview.h +++ b/gtk/gtktextview.h @@ -93,8 +93,7 @@ struct _GtkTextView guint accepts_tab : 1; - /* this flag is no longer used */ - guint reserved : 1; + guint width_changed : 1; /* debug flag - means that we've validated onscreen since the * last "invalidate" signal from the layout @@ -102,7 +101,7 @@ struct _GtkTextView guint onscreen_validated : 1; guint mouse_cursor_obscured : 1; - + GtkTextWindow *text_window; GtkTextWindow *left_window; GtkTextWindow *right_window; |