forked from AuroraMiddleware/gtk
GtkTextViewPrivate: Improve struct packing
This commit is contained in:
parent
a603a2a2ba
commit
a1f200426b
@ -133,7 +133,6 @@ struct _GtkTextViewPrivate
|
|||||||
GdkDevice *dnd_device;
|
GdkDevice *dnd_device;
|
||||||
|
|
||||||
gulong selection_drag_handler;
|
gulong selection_drag_handler;
|
||||||
guint scroll_timeout;
|
|
||||||
|
|
||||||
GtkTextWindow *text_window;
|
GtkTextWindow *text_window;
|
||||||
GtkTextWindow *left_window;
|
GtkTextWindow *left_window;
|
||||||
@ -176,12 +175,16 @@ struct _GtkTextViewPrivate
|
|||||||
GtkTextMark *first_para_mark; /* Mark at the beginning of the first onscreen paragraph */
|
GtkTextMark *first_para_mark; /* Mark at the beginning of the first onscreen paragraph */
|
||||||
gint first_para_pixels; /* Offset of top of screen in the first onscreen paragraph */
|
gint first_para_pixels; /* Offset of top of screen in the first onscreen paragraph */
|
||||||
|
|
||||||
GtkTextMark *dnd_mark;
|
|
||||||
guint blink_timeout;
|
guint blink_timeout;
|
||||||
|
guint scroll_timeout;
|
||||||
|
|
||||||
guint first_validate_idle; /* Idle to revalidate onscreen portion, runs before resize */
|
guint first_validate_idle; /* Idle to revalidate onscreen portion, runs before resize */
|
||||||
guint incremental_validate_idle; /* Idle to revalidate offscreen portions, runs after redraw */
|
guint incremental_validate_idle; /* Idle to revalidate offscreen portions, runs after redraw */
|
||||||
|
|
||||||
|
gint pending_place_cursor_button;
|
||||||
|
|
||||||
|
GtkTextMark *dnd_mark;
|
||||||
|
|
||||||
GtkIMContext *im_context;
|
GtkIMContext *im_context;
|
||||||
GtkWidget *popup_menu;
|
GtkWidget *popup_menu;
|
||||||
|
|
||||||
@ -192,8 +195,6 @@ struct _GtkTextViewPrivate
|
|||||||
|
|
||||||
GtkTextPendingScroll *pending_scroll;
|
GtkTextPendingScroll *pending_scroll;
|
||||||
|
|
||||||
gint pending_place_cursor_button;
|
|
||||||
|
|
||||||
/* Default style settings */
|
/* Default style settings */
|
||||||
gint pixels_above_lines;
|
gint pixels_above_lines;
|
||||||
gint pixels_below_lines;
|
gint pixels_below_lines;
|
||||||
@ -209,7 +210,7 @@ struct _GtkTextViewPrivate
|
|||||||
guint overwrite_mode : 1;
|
guint overwrite_mode : 1;
|
||||||
guint cursor_visible : 1;
|
guint cursor_visible : 1;
|
||||||
|
|
||||||
/* if we have reset the IM since the last character entered */
|
/* if we have reset the IM since the last character entered */
|
||||||
guint need_im_reset : 1;
|
guint need_im_reset : 1;
|
||||||
|
|
||||||
guint accepts_tab : 1;
|
guint accepts_tab : 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user