Commit 54ca4347 authored by Nate Summers's avatar Nate Summers

the autogenerated code for gimp_palette_get_entry won't compile. Temporary


 	* gimppalette_pdb.c: the autogenerated code for
 	gimp_palette_get_entry won't compile.  Temporary kludge so that it
 	will compile and work correctly.
parent bab6fb86
......@@ -369,7 +369,11 @@ gimp_palette_get_entry (gint entry_num)
GIMP_PDB_END);
if (return_vals[0].data.d_status == GIMP_PDB_SUCCESS)
color = return_vals[1].data.d_color;
{
color = g_new(GimpRGB, 1);
*color = return_vals[1].data.d_color;
}
gimp_destroy_params (return_vals, nreturn_vals);
......
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