mirror of https://github.com/GNOME/gimp.git
cast to GIMP_CONFIG() for gimp_config_deserialize_string().
2005-06-26 Manish Singh <yosh@gimp.org> * libgimp/gimpgimprc.c (gimp_get_color_configuration): cast to GIMP_CONFIG() for gimp_config_deserialize_string().
This commit is contained in:
parent
2ff5c3b43b
commit
bded28416b
|
@ -1,3 +1,8 @@
|
|||
2005-06-26 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* libgimp/gimpgimprc.c (gimp_get_color_configuration): cast to
|
||||
GIMP_CONFIG() for gimp_config_deserialize_string().
|
||||
|
||||
2005-06-26 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* data/tips/Makefile.am
|
||||
|
|
|
@ -47,7 +47,8 @@ gimp_get_color_configuration (void)
|
|||
|
||||
config = g_object_new (GIMP_TYPE_COLOR_CONFIG, NULL);
|
||||
|
||||
if (! gimp_config_deserialize_string (config, text, -1, NULL, &error))
|
||||
if (! gimp_config_deserialize_string (GIMP_CONFIG (config), text, -1, NULL,
|
||||
&error))
|
||||
{
|
||||
g_warning ("failed to deserialize color configuration: %s",
|
||||
error->message);
|
||||
|
|
Loading…
Reference in New Issue