summaryrefslogtreecommitdiff
path: root/gtk/gtkgridview.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-07-24 22:57:34 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-07-25 11:57:37 -0400
commit2ff3e3d1e4319bda2d0847a06bf0ec2a27c7e4ae (patch)
tree3e7ef9b85833dc0b1bee9409a784d56d1a7ff965 /gtk/gtkgridview.c
parent73f4f518b88fa9145fc9ef71629d375aa1e702f0 (diff)
downloadgtk+-2ff3e3d1e4319bda2d0847a06bf0ec2a27c7e4ae.tar.gz
gtk: Improve struct packing in places
Plug some holes in our structs by rearranging a few fields. This is was done looking at pahole output.
Diffstat (limited to 'gtk/gtkgridview.c')
-rw-r--r--gtk/gtkgridview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkgridview.c b/gtk/gtkgridview.c
index 7138a71aab..1d243134a4 100644
--- a/gtk/gtkgridview.c
+++ b/gtk/gtkgridview.c
@@ -91,8 +91,8 @@ struct _GtkGridView
guint max_columns;
/* set in size_allocate */
guint n_columns;
- double column_width;
int unknown_row_height;
+ double column_width;
};
struct _GtkGridViewClass