Commit b726448f authored by Matthias Clasen's avatar Matthias Clasen

Fix ABI compat

Make GtkTextTextAttributes stay the same size. This currently
uses gcc builtin defines. If that is an issue, we can switch
to using GLIB_SIZEOF_ defines, after adding one for ints.
parent a3e17248
......@@ -104,8 +104,10 @@ struct _GtkTextAppearance
GdkRGBA *rgba[2];
/*< private >*/
#if __SIZEOF_INT__ == __SIZEOF_POINTER__
/* unusable, just for ABI compat */
guint padding[2];
#endif
};
struct _GtkTextAttributes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment