
Martin Owens-2 wrote
The error comes from the string, it says the string is a `const char [36]` while it needs a const GLib::ustring. Usually I've seen the code be more flexible about const strings at compile time, but this one is being picky.
Create a const Glib::ustring with your C string.
const Glib::ustring pref_path("/options/rendering/imageinoutlinemode"); _image_render_observer = DesktopPrefObserver(*this, pref_path);
I'm not sure why it would do this but I guess it should work.
And I think the pref should by default be off (stable users may not know what to make of it, and I personally have no use for it, even being a tracer myself).
-- View this message in context: http://inkscape.13.x6.nabble.com/Preference-Observer-in-Init-tp4970271p49702... Sent from the Inkscape - Dev mailing list archive at Nabble.com.