diff options
author | Owen Taylor <otaylor@redhat.com> | 2003-06-05 22:59:35 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2003-06-05 22:59:35 +0000 |
commit | 4d5b395f2c8b8ad765727114397f1291c13195dd (patch) | |
tree | 232d2451228a622160f2b3e2310f962f37076023 /gtk/gtktextview.h | |
parent | de425c5d0fe4dd3cdbd1e53553cf689dfd23cab5 (diff) | |
download | gtk+-4d5b395f2c8b8ad765727114397f1291c13195dd.tar.gz |
Never scroll on focus in (#81893, Patch from Paolo Maggi)
Thu Jun 5 16:52:54 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextview.[ch]: Never scroll on focus in
(#81893, Patch from Paolo Maggi)
* gtk/gtktextview.c (gtk_text_view_scroll_[h]pages):
Scroll to the current cursor location before handling
the action, in case the user just tabbed in
and the cursor is offscreen.
Diffstat (limited to 'gtk/gtktextview.h')
-rw-r--r-- | gtk/gtktextview.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gtk/gtktextview.h b/gtk/gtktextview.h index 0233f20839..3dd8d8d7eb 100644 --- a/gtk/gtktextview.h +++ b/gtk/gtktextview.h @@ -93,11 +93,9 @@ struct _GtkTextView /* if we have reset the IM since the last character entered */ guint need_im_reset : 1; - /* this flag is no longer used */ - guint just_selected_element : 1; - - /* disable scrolling to cursor on focus */ - guint disable_scroll_on_focus : 1; + /* these flags are no longer used */ + guint reserved1 : 1; + guint reserved2 : 1; /* debug flag - means that we've validated onscreen since the * last "invalidate" signal from the layout |