diff options
Diffstat (limited to 'vcl/unx/gtk3/a11y/atktext.cxx')
-rw-r--r-- | vcl/unx/gtk3/a11y/atktext.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/a11y/atktext.cxx b/vcl/unx/gtk3/a11y/atktext.cxx index 8b1ab674227d..b140232055d3 100644 --- a/vcl/unx/gtk3/a11y/atktext.cxx +++ b/vcl/unx/gtk3/a11y/atktext.cxx @@ -852,8 +852,9 @@ text_wrapper_scroll_substring_to(AtkText *text, } // extern "C" void -textIfaceInit (AtkTextIface *iface) +textIfaceInit (gpointer iface_, gpointer) { + auto const iface = static_cast<AtkTextIface *>(iface_); g_return_if_fail (iface != nullptr); iface->get_text = text_wrapper_get_text; |