diff options
author | Christian Persch <chpe@src.gnome.org> | 2021-09-26 19:12:57 +0200 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2021-09-26 19:12:57 +0200 |
commit | 73a029f06ceb67d3422a1c80a16602ada3ca0009 (patch) | |
tree | 29783dfe9c678f6e81e14f82ee664a5fc10543a3 | |
parent | d0bf44719a546dd24b3da08c934d8530ef474acd (diff) | |
download | vte-73a029f06ceb67d3422a1c80a16602ada3ca0009.tar.gz |
lib: ABI repairs
-rw-r--r-- | src/vte/vteterminal.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/vte/vteterminal.h b/src/vte/vteterminal.h index b59f55f5..c017c101 100644 --- a/src/vte/vteterminal.h +++ b/src/vte/vteterminal.h @@ -109,8 +109,20 @@ struct _VteTerminalClass { void (*bell)(VteTerminal* terminal); +#if _VTE_GTK == 3 + /* Compatibility padding due to fedora patches intruding on our ABI */ + /*< private >*/ + gpointer _extra_padding[3]; +#endif /* _VTE_GTK == 3 */ + + /* Add new vfuncs here, and subtract from the padding below. */ + /* Padding for future expansion. */ - gpointer padding[16]; +#if _VTE_GTK == 3 + gpointer _padding[13]; +#elif _VTE_GTK == 4 + gpointer _padding[16]; +#endif /* _VTE_GTK */ // FIXMEgtk4 use class private data instead VteTerminalClassPrivate *priv; |