forked from AuroraMiddleware/gtk
GtkCellRendererTextPrivate: Improve struct packing
This commit is contained in:
parent
ea936d4237
commit
a6db55b774
@ -161,18 +161,16 @@ struct _GtkCellRendererTextPrivate
|
|||||||
{
|
{
|
||||||
GtkWidget *entry;
|
GtkWidget *entry;
|
||||||
|
|
||||||
PangoAlignment align;
|
|
||||||
PangoAttrList *extra_attrs;
|
PangoAttrList *extra_attrs;
|
||||||
GdkRGBA foreground;
|
GdkRGBA foreground;
|
||||||
GdkRGBA background;
|
GdkRGBA background;
|
||||||
|
PangoAlignment align;
|
||||||
PangoEllipsizeMode ellipsize;
|
PangoEllipsizeMode ellipsize;
|
||||||
PangoFontDescription *font;
|
PangoFontDescription *font;
|
||||||
PangoLanguage *language;
|
PangoLanguage *language;
|
||||||
PangoUnderline underline_style;
|
PangoUnderline underline_style;
|
||||||
PangoWrapMode wrap_mode;
|
PangoWrapMode wrap_mode;
|
||||||
|
|
||||||
gboolean in_entry_menu;
|
|
||||||
|
|
||||||
gchar *text;
|
gchar *text;
|
||||||
|
|
||||||
gdouble font_scale;
|
gdouble font_scale;
|
||||||
@ -183,6 +181,7 @@ struct _GtkCellRendererTextPrivate
|
|||||||
gint max_width_chars;
|
gint max_width_chars;
|
||||||
gint wrap_width;
|
gint wrap_width;
|
||||||
|
|
||||||
|
guint in_entry_menu : 1;
|
||||||
guint strikethrough : 1;
|
guint strikethrough : 1;
|
||||||
guint editable : 1;
|
guint editable : 1;
|
||||||
guint scale_set : 1;
|
guint scale_set : 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user