overrides: Fix length parameter when passing non-ascii strings to Gtk.Builder.add_from_string/add_objects_from_string
overrides: Fix length parameter when passing non-ascii strings to Gtk.Builder.add_from_string/add_objects_from_string
It was passing the codepoint count instead of the length in bytes which lead to things reading past the provided memory and crashes.
Also use the same code for Gtk.UIManager.add_ui_from_string()
Fixes #255 (closed)
Edited by Christoph Reiter