mirror of https://github.com/GNOME/gimp.git
Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimpwidgets/gimpwidgets.c (gimp_coordinate_callback): Don't stop emission of "value-changed" signal. Fixes bug #346088. Let's see if it breaks anything else...
This commit is contained in:
parent
d5cfa53e83
commit
55d716e258
|
@ -1,3 +1,9 @@
|
|||
2006-08-10 Bill Skaggs <weskaggs@primate.ucdavis.edu>
|
||||
|
||||
* libgimpwidgets/gimpwidgets.c (gimp_coordinate_callback):
|
||||
Don't stop emission of "value-changed" signal. Fixes
|
||||
bug #346088. Let's see if it breaks anything else...
|
||||
|
||||
2006-08-10 Bill Skaggs <weskaggs@primate.ucdavis.edu>
|
||||
|
||||
* app/tools/gimprectangleselecttool.[ch]: if the user is
|
||||
|
|
|
@ -1084,7 +1084,7 @@ gimp_coordinates_callback (GtkWidget *widget,
|
|||
gcd->last_x = new_x;
|
||||
new_y = (new_x * gcd->orig_y) / gcd->orig_x;
|
||||
|
||||
g_signal_stop_emission_by_name (widget, "value-changed");
|
||||
/* g_signal_stop_emission_by_name (widget, "value-changed"); */
|
||||
gimp_size_entry_set_refval (GIMP_SIZE_ENTRY (widget), 1,
|
||||
new_y);
|
||||
gcd->last_y
|
||||
|
@ -1095,7 +1095,7 @@ gimp_coordinates_callback (GtkWidget *widget,
|
|||
gcd->last_y = new_y;
|
||||
new_x = (new_y * gcd->orig_x) / gcd->orig_y;
|
||||
|
||||
g_signal_stop_emission_by_name (widget, "value-changed");
|
||||
/* g_signal_stop_emission_by_name (widget, "value-changed"); */
|
||||
gimp_size_entry_set_refval (GIMP_SIZE_ENTRY (widget), 0,
|
||||
new_x);
|
||||
gcd->last_x
|
||||
|
@ -1109,7 +1109,7 @@ gimp_coordinates_callback (GtkWidget *widget,
|
|||
{
|
||||
new_y = new_x;
|
||||
|
||||
g_signal_stop_emission_by_name (widget, "value-changed");
|
||||
/* g_signal_stop_emission_by_name (widget, "value-changed"); */
|
||||
gimp_size_entry_set_refval (GIMP_SIZE_ENTRY (widget), 1, new_x);
|
||||
gcd->last_y = gcd->last_x
|
||||
= gimp_size_entry_get_refval (GIMP_SIZE_ENTRY (widget), 1);
|
||||
|
@ -1118,7 +1118,7 @@ gimp_coordinates_callback (GtkWidget *widget,
|
|||
{
|
||||
new_x = new_y;
|
||||
|
||||
g_signal_stop_emission_by_name (widget, "value-changed");
|
||||
/* g_signal_stop_emission_by_name (widget, "value-changed"); */
|
||||
gimp_size_entry_set_refval (GIMP_SIZE_ENTRY (widget), 0, new_y);
|
||||
gcd->last_x = gcd->last_y
|
||||
= gimp_size_entry_get_refval (GIMP_SIZE_ENTRY (widget), 0);
|
||||
|
|
Loading…
Reference in New Issue