From 55d716e258f52425fa3cf6457e6b42a8ff274845 Mon Sep 17 00:00:00 2001 From: William Skaggs Date: Thu, 10 Aug 2006 19:17:44 +0000 Subject: [PATCH] Bill Skaggs * 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... --- ChangeLog | 6 ++++++ libgimpwidgets/gimpwidgets.c | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index cb5c36b2c9..ab40e93f43 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-08-10 Bill Skaggs + + * 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 * app/tools/gimprectangleselecttool.[ch]: if the user is diff --git a/libgimpwidgets/gimpwidgets.c b/libgimpwidgets/gimpwidgets.c index 02a96192d6..7fd376291f 100644 --- a/libgimpwidgets/gimpwidgets.c +++ b/libgimpwidgets/gimpwidgets.c @@ -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);