talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit abf926bd4d8df0f762f19c76796540d06a1829fc
parent f5454e6e1f199343fe9cf5a1dfdab18254e16cd2
Author: Jonathan Boeing <jonathan@claws-mail.org>
Date:   Sat, 14 Jun 2025 01:59:35 -0700

Fix litehtml plugin build failure on Windows

Diffstat:
Msrc/gtk/gtkutils.h | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/gtk/gtkutils.h b/src/gtk/gtkutils.h @@ -75,6 +75,10 @@ rgba.alpha = 1.0; \ } +#ifdef __cplusplus +extern "C" { +#endif + /* Since GDK's gdk_rgba_to_string() produces a string * representation unsuitable for us, we have to have * our own function to produce a "#rrggbb" string from @@ -271,5 +275,9 @@ gint gtkut_gdk_screen_width(); gint gtkut_gdk_screen_height(); void gtkut_gdk_screen_size_changed (GdkScreen* self, gpointer data); +#ifdef __cplusplus +} +#endif + #endif /* __GTKUTILS_H__ */