summaryrefslogtreecommitdiff
path: root/gtk/gtktextview.h
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2003-01-06 23:07:06 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-01-06 23:07:06 +0000
commitf50f45bc86b7686610c0b4f64aa54000ca6210f2 (patch)
tree36b1562381114231d124d3a4167f07045a14bd10 /gtk/gtktextview.h
parentbc70dc94bf6392a7503ebd81092494631a272c44 (diff)
downloadgtk+-f50f45bc86b7686610c0b4f64aa54000ca6210f2.tar.gz
Add a comment that the just_selected_element is unused.
2003-01-07 Matthias Clasen <maclas@gmx.de> * gtk/gtktextview.h (struct _GtkTextView): Add a comment that the just_selected_element is unused. * gtk/gtktextview.c (extend_selection): New helper function to find the range that should be added to the selection. (selection_motion_event_handler): (gtk_text_view_start_selection_drag): (gtk_text_view_end_selection_drag): (selection_motion_event_handler): (selection_scan_timeout): Support select-by-words/lines. (gtk_text_view_button_press_event): Start a selection drag on double/triple clicks. (#78599)
Diffstat (limited to 'gtk/gtktextview.h')
-rw-r--r--gtk/gtktextview.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/gtk/gtktextview.h b/gtk/gtktextview.h
index ad0edb40d0..0233f20839 100644
--- a/gtk/gtktextview.h
+++ b/gtk/gtktextview.h
@@ -89,9 +89,12 @@ struct _GtkTextView
guint overwrite_mode : 1;
guint cursor_visible : 1;
- guint need_im_reset : 1; /* If we have reset the IM since the last character entered */
- /* just selected a word or line via double/triple click */
- guint just_selected_element : 1;
+
+ /* 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;