mirror of https://github.com/GNOME/gimp.git
Fixed bug where property notifications were checked againts hardcoded
2007-08-10 Martin Nordholts <martinn@svn.gnome.org> * app/widgets/gimppropwidgets.c (gimp_prop_number_pair_entry_config_notify): Fixed bug where property notifications were checked againts hardcoded property names instead of the ones configured to the GimpPropNumberPairEntryData object. svn path=/trunk/; revision=23191
This commit is contained in:
parent
05332c8b7b
commit
0f0a52a301
|
@ -1,3 +1,11 @@
|
|||
2007-08-10 Martin Nordholts <martinn@svn.gnome.org>
|
||||
|
||||
* app/widgets/gimppropwidgets.c
|
||||
(gimp_prop_number_pair_entry_config_notify): Fixed bug where
|
||||
property notifications were checked againts hardcoded property
|
||||
names instead of the ones configured to the
|
||||
GimpPropNumberPairEntryData object.
|
||||
|
||||
2007-08-10 Martin Nordholts <martinn@svn.gnome.org>
|
||||
|
||||
* app/tools/gimprectangleoptions.c: Added
|
||||
|
|
|
@ -630,8 +630,8 @@ gimp_prop_number_pair_entry_config_notify (GObject *config,
|
|||
|
||||
g_return_if_fail (data != NULL);
|
||||
|
||||
if (strcmp (param_spec->name, "left-number") == 0 ||
|
||||
strcmp (param_spec->name, "right-number") == 0)
|
||||
if (strcmp (param_spec->name, data->left_number_property) == 0 ||
|
||||
strcmp (param_spec->name, data->right_number_property) == 0)
|
||||
{
|
||||
gdouble left_number;
|
||||
gdouble right_number;
|
||||
|
@ -645,8 +645,8 @@ gimp_prop_number_pair_entry_config_notify (GObject *config,
|
|||
left_number,
|
||||
right_number);
|
||||
}
|
||||
else if (strcmp (param_spec->name, "default-left-number") == 0 ||
|
||||
strcmp (param_spec->name, "default-right-number") == 0)
|
||||
else if (strcmp (param_spec->name, data->default_left_number_property) == 0 ||
|
||||
strcmp (param_spec->name, data->default_right_number_property) == 0)
|
||||
{
|
||||
gdouble default_left_number;
|
||||
gdouble default_right_number;
|
||||
|
@ -660,7 +660,7 @@ gimp_prop_number_pair_entry_config_notify (GObject *config,
|
|||
default_left_number,
|
||||
default_right_number);
|
||||
}
|
||||
else if (strcmp (param_spec->name, "user-override") == 0)
|
||||
else if (strcmp (param_spec->name, data->user_override_property) == 0)
|
||||
{
|
||||
gboolean user_override;
|
||||
|
||||
|
|
Loading…
Reference in New Issue