Gimp/libgimpconfig
Michael Natterer 72033f7493 libgimpconfig: fix string deserialization for some cases
In gimp_config_deserialize_fundamental(), we can't use
g_value_set_static_string() because that will in the end pass the
GScanner's temporary scanner->value.v_string to
GObject::set_property(), and depending on set_property()'s
implementation, we might not dup the string (for example objects
created via gimp_config_type_register() will simply use g_value_copy()
and end up with a dangling pointer as a string member).

(cherry picked from commit 2e6656599d)
2020-06-08 22:37:23 +02:00
..
.gitignore enums: add intermediate generated enum files to .gitignore 2017-08-24 15:35:27 -04:00
gimpcolorconfig.c app, libgimp*, modules: don't use g_type_class_add_private() ... 2018-09-18 14:41:35 -04:00
gimpcolorconfig.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpconfig-deserialize.c libgimpconfig: fix string deserialization for some cases 2020-06-08 22:37:23 +02:00
gimpconfig-deserialize.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpconfig-error.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpconfig-error.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpconfig-iface.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpconfig-iface.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpconfig-params.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpconfig-path.c Issue #2224 - Use the "Swap folder" setting for the GEGL cache 2018-11-18 18:27:05 +01:00
gimpconfig-path.h libgimp*: lots of doc fixes and new docs for structs and enums 2019-07-24 01:26:11 +02:00
gimpconfig-serialize.c Use g_ascii_dtostr() instead of g_ascii_formatd() 2019-07-30 16:00:06 +02:00
gimpconfig-serialize.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpconfig-utils.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpconfig-utils.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpconfig.def libgimpconfig: align GimpConfig with the rest of the interfaces 2018-05-27 05:56:57 -04:00
gimpconfig.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpconfigenums.c enums: generate enum files in source dir 2017-05-06 17:26:16 -04:00
gimpconfigenums.h libgimp*: lots of doc fixes and new docs for structs and enums 2019-07-24 01:26:11 +02:00
gimpconfigtypes.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpconfigwriter.c app, libgimpconfig: make various usage of g_file_replace() safer. 2018-12-07 00:51:05 +01:00
gimpconfigwriter.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
gimpscanner.c libgimpconfig: allow calling gimp_scanner_new_string (NULL, -1, ...) 2020-01-30 02:46:53 +02:00
gimpscanner.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:47:19 +02:00
Makefile.am */Makefile.am: add abbreviations to generated enum files 2017-11-30 03:10:14 -05:00