set construct_param->foo, not construct_param*s*->foo, so we don't set the
2004-08-31 Michael Natterer <mitch@gimp.org> * app/config/gimpconfig.c (gimp_config_iface_duplicate): set construct_param->foo, not construct_param*s*->foo, so we don't set the first construct param again and crash.
This commit is contained in:

committed by
Michael Natterer

parent
e64450b3c1
commit
6965b0b881
@ -1,3 +1,9 @@
|
|||||||
|
2004-08-31 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
|
* app/config/gimpconfig.c (gimp_config_iface_duplicate): set
|
||||||
|
construct_param->foo, not construct_param*s*->foo, so we don't set
|
||||||
|
the first construct param again and crash.
|
||||||
|
|
||||||
2004-08-31 Michael Natterer <mitch@gimp.org>
|
2004-08-31 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* plug-ins/common/cubism.c: added "..." to the progress text.
|
* plug-ins/common/cubism.c: added "..." to the progress text.
|
||||||
|
@ -150,9 +150,9 @@ gimp_config_iface_duplicate (GimpConfig *config)
|
|||||||
|
|
||||||
construct_param = &construct_params[n_construct_params++];
|
construct_param = &construct_params[n_construct_params++];
|
||||||
|
|
||||||
construct_params->name = prop_spec->name;
|
construct_param->name = prop_spec->name;
|
||||||
|
|
||||||
g_value_init (&construct_params->value, prop_spec->value_type);
|
g_value_init (&construct_param->value, prop_spec->value_type);
|
||||||
g_object_get_property (G_OBJECT (config), prop_spec->name,
|
g_object_get_property (G_OBJECT (config), prop_spec->name,
|
||||||
&construct_param->value);
|
&construct_param->value);
|
||||||
}
|
}
|
||||||
|
@ -150,9 +150,9 @@ gimp_config_iface_duplicate (GimpConfig *config)
|
|||||||
|
|
||||||
construct_param = &construct_params[n_construct_params++];
|
construct_param = &construct_params[n_construct_params++];
|
||||||
|
|
||||||
construct_params->name = prop_spec->name;
|
construct_param->name = prop_spec->name;
|
||||||
|
|
||||||
g_value_init (&construct_params->value, prop_spec->value_type);
|
g_value_init (&construct_param->value, prop_spec->value_type);
|
||||||
g_object_get_property (G_OBJECT (config), prop_spec->name,
|
g_object_get_property (G_OBJECT (config), prop_spec->name,
|
||||||
&construct_param->value);
|
&construct_param->value);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user