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:
Manish Singh 2005-06-26 21:11:39 +00:00 committed by Manish Singh
parent 2ff5c3b43b
commit bded28416b
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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);