mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2026-10-24 00:49:00 +03:00
This adds a new g_set_strv() that has been used in various GNOME projects to help ensure that strv properties are changed with minimal notify() emissions as well as reduce chances for UAF. Additionally, g_set_strv_take() is provided to allow setting a GStrv without making a copy of the provided string. Use this when you are using API like g_strv_builder_end(). Fixes: #3907