]> Pileus Git - ~andy/gtk/commitdiff
GtkTextViewPrivate: Improve struct packing
authorMatthias Clasen <mclasen@redhat.com>
Tue, 12 Apr 2011 16:48:30 +0000 (12:48 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 12 Apr 2011 16:48:30 +0000 (12:48 -0400)
gtk/gtktextview.c

index 47e26bea2f277998f5e79522f504a3a1f243460f..8457a467706255764e396b8086cb4e823ebf7375 100644 (file)
@@ -133,7 +133,6 @@ struct _GtkTextViewPrivate
   GdkDevice *dnd_device;
 
   gulong selection_drag_handler;
-  guint scroll_timeout;
 
   GtkTextWindow *text_window;
   GtkTextWindow *left_window;
@@ -176,12 +175,16 @@ struct _GtkTextViewPrivate
   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 */
 
-  GtkTextMark *dnd_mark;
   guint blink_timeout;
+  guint scroll_timeout;
 
   guint first_validate_idle;        /* Idle to revalidate onscreen portion, runs before resize */
   guint incremental_validate_idle;  /* Idle to revalidate offscreen portions, runs after redraw */
 
+  gint pending_place_cursor_button;
+
+  GtkTextMark *dnd_mark;
+
   GtkIMContext *im_context;
   GtkWidget *popup_menu;
 
@@ -192,8 +195,6 @@ struct _GtkTextViewPrivate
 
   GtkTextPendingScroll *pending_scroll;
 
-  gint pending_place_cursor_button;
-
   /* Default style settings */
   gint pixels_above_lines;
   gint pixels_below_lines;
@@ -209,7 +210,7 @@ struct _GtkTextViewPrivate
   guint overwrite_mode : 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 accepts_tab : 1;