forked from AuroraMiddleware/gtk
gtktextattributes: Use an anonymous union instead of arch-testing #ifdef
This avoids having Gtk-3.0.gir differ on 32 vs 64 bit, which causes issues for "multilib" in Fedora/OpenSUSE type systems. See https://bugzilla.gnome.org/show_bug.cgi?id=711153 for more information. https://bugzilla.gnome.org/show_bug.cgi?id=711158
This commit is contained in:
parent
e077660e1e
commit
c9892df362
@ -94,12 +94,10 @@ struct _GtkTextAppearance
|
||||
guint inside_selection : 1;
|
||||
guint is_text : 1;
|
||||
|
||||
union {
|
||||
GdkRGBA *rgba[2];
|
||||
|
||||
#if (defined(__SIZEOF_INT__) && defined(__SIZEOF_POINTER__)) && (__SIZEOF_INT__ == __SIZEOF_POINTER__)
|
||||
/* unusable, just for ABI compat */
|
||||
guint padding[2];
|
||||
#endif
|
||||
guint padding[4];
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user