inspector: Support editing interned string properties

Desktop / GNOME / GTK - Matthias Clasen [redhat.com] - 26 October 2015 22:39 UTC

Sadly, interned string properties cannot be handled generically at all - GObject insists on inserting a strcpy in any attempt to set a string property with generic api, destroying the internedness of the string.

Therefore, we have to special-case GtkCssNode in the property editor code :-(

6852a1e inspector: Support editing interned string properties
gtk/inspector/prop-editor.c | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)

Upstream: git.gnome.org


  • Share