Commit 88ffd5e8 authored by Manish Singh's avatar Manish Singh Committed by Manish Singh
Browse files

Add casts to G_OBJECT() for gimp_config_diff().

2005-05-19  Manish Singh  <yosh@gimp.org>

        * app/config/test-config.c: Add casts to G_OBJECT() for
        gimp_config_diff().
parent a09ac4ae
2005-05-19 Manish Singh <yosh@gimp.org>
* app/config/test-config.c: Add casts to G_OBJECT() for
gimp_config_diff().
2005-05-19 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpcolorscales.c: removed the hex entry from the
......
......@@ -121,7 +121,9 @@ main (int argc,
g_object_set (grid2, "xspacing", 20.0, NULL);
g_print (" Creating a diff between the two ...");
for (list = gimp_config_diff (grid, grid2, 0); list; list = list->next)
for (list = gimp_config_diff (G_OBJECT (grid), G_OBJECT (grid2), 0);
list;
list = list->next)
{
GParamSpec *pspec = list->data;
......@@ -158,7 +160,7 @@ main (int argc,
}
else
{
GList *diff = gimp_config_diff (grid, grid2, 0);
GList *diff = gimp_config_diff (G_OBJECT (grid), G_OBJECT (grid2), 0);
if (diff)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment