diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-04-12 12:31:28 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-04-12 12:31:28 -0400 |
commit | a6db55b7749844f5a5c81c95c6be6d0a9bef2192 (patch) | |
tree | d161c3dfc2cd25a13e570ea47964eea53bc4bb3b /gtk/gtkcellrenderertext.c | |
parent | ea936d42373e267467409bad681d8cd4d6cc6b15 (diff) | |
download | gtk+-a6db55b7749844f5a5c81c95c6be6d0a9bef2192.tar.gz |
GtkCellRendererTextPrivate: Improve struct packing
Diffstat (limited to 'gtk/gtkcellrenderertext.c')
-rw-r--r-- | gtk/gtkcellrenderertext.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c index 2b756d1fe6..c5eed2e23b 100644 --- a/gtk/gtkcellrenderertext.c +++ b/gtk/gtkcellrenderertext.c @@ -161,18 +161,16 @@ struct _GtkCellRendererTextPrivate { GtkWidget *entry; - PangoAlignment align; PangoAttrList *extra_attrs; GdkRGBA foreground; GdkRGBA background; + PangoAlignment align; PangoEllipsizeMode ellipsize; PangoFontDescription *font; PangoLanguage *language; PangoUnderline underline_style; PangoWrapMode wrap_mode; - gboolean in_entry_menu; - gchar *text; gdouble font_scale; @@ -183,6 +181,7 @@ struct _GtkCellRendererTextPrivate gint max_width_chars; gint wrap_width; + guint in_entry_menu : 1; guint strikethrough : 1; guint editable : 1; guint scale_set : 1; |