put the char member at the bottom of the struct so that it doesnt mess up alignment for the other members (assuming the compiler doesn't pad the struct appropriately anyways)
This commit is contained in:
parent
911413d86c
commit
e06ddf9f22
1 changed files with 1 additions and 1 deletions
|
@ -137,12 +137,12 @@ struct _RrTextureText {
|
||||||
gint shadow_offset_x;
|
gint shadow_offset_x;
|
||||||
gint shadow_offset_y;
|
gint shadow_offset_y;
|
||||||
RrColor *shadow_color;
|
RrColor *shadow_color;
|
||||||
guchar shadow_alpha;
|
|
||||||
gboolean shortcut; /*!< Underline a character */
|
gboolean shortcut; /*!< Underline a character */
|
||||||
guint shortcut_pos; /*!< Position in bytes of the character to underline */
|
guint shortcut_pos; /*!< Position in bytes of the character to underline */
|
||||||
RrEllipsizeMode ellipsize;
|
RrEllipsizeMode ellipsize;
|
||||||
gboolean flow; /* allow multiple lines. must set maxwidth below */
|
gboolean flow; /* allow multiple lines. must set maxwidth below */
|
||||||
gint maxwidth;
|
gint maxwidth;
|
||||||
|
guchar shadow_alpha; /* at the bottom to improve alignment */
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _RrPixmapMask {
|
struct _RrPixmapMask {
|
||||||
|
|
Loading…
Reference in a new issue