gimp r27914 - in trunk: . libgimpwidgets
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27914 - in trunk: . libgimpwidgets
- Date: Sun, 18 Jan 2009 07:55:00 +0000 (UTC)
Author: martinn
Date: Sun Jan 18 07:54:59 2009
New Revision: 27914
URL: http://svn.gnome.org/viewvc/gimp?rev=27914&view=rev
Log:
Bug 563337 â Rectangle Select Tool does not allow 1:1 fixed ratio
* libgimpwidgets/gimpnumberpairentry.c: When testing if the value
changed on focus-out we shall test against the current values, not
the default values.
Modified:
trunk/ChangeLog
trunk/libgimpwidgets/gimpnumberpairentry.c
Modified: trunk/libgimpwidgets/gimpnumberpairentry.c
==============================================================================
--- trunk/libgimpwidgets/gimpnumberpairentry.c (original)
+++ trunk/libgimpwidgets/gimpnumberpairentry.c Sun Jan 18 07:54:59 2009
@@ -851,15 +851,8 @@
{
case PARSE_VALID:
{
- gdouble default_left_value;
- gdouble default_right_value;
-
- gimp_number_pair_entry_get_default_values (entry,
- &default_left_value,
- &default_right_value);
-
- if (default_left_value != left_value ||
- default_right_value != right_value ||
+ if (priv->left_number != left_value ||
+ priv->right_number != right_value ||
force_user_override)
{
gimp_number_pair_entry_set_values (entry,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]