don't connect to the unit_changed signal

--Sven
This commit is contained in:
Sven Neumann 2000-01-26 23:09:15 +00:00
parent 65dd45da78
commit d9f41c33fd
4 changed files with 8 additions and 8 deletions

View File

@ -1,3 +1,9 @@
Thu Jan 27 22:02:44 CET 2000 Sven Neumann <sven@gimp.org>
* plug-ins/common/gauss_iir.c
* plug-ins/common/gauss_rle.c
* plug-ins/common/grid.c: don't connect to the unit_changed signal
2000-01-27 Michael Natterer <mitch@gimp.org>
* plug-ins/common/newsprint.c: changed the ui to use the libgimp

View File

@ -505,8 +505,6 @@ gauss_iir2_dialog (gint32 image_ID,
gtk_signal_connect (GTK_OBJECT (size), "value_changed",
(GtkSignalFunc) gauss_entry_callback, chain);
gtk_signal_connect (GTK_OBJECT (size), "unit_changed",
(GtkSignalFunc) gauss_entry_callback, chain);
gtk_container_set_border_width (GTK_CONTAINER (size), 4);
gtk_container_add (GTK_CONTAINER (frame), size);

View File

@ -500,8 +500,6 @@ gauss_rle2_dialog (gint32 image_ID,
gtk_signal_connect (GTK_OBJECT (size), "value_changed",
(GtkSignalFunc) gauss_entry_callback, chain);
gtk_signal_connect (GTK_OBJECT (size), "unit_changed",
(GtkSignalFunc) gauss_entry_callback, chain);
gtk_container_set_border_width (GTK_CONTAINER (size), 4);
gtk_container_add (GTK_CONTAINER (frame), size);

View File

@ -539,12 +539,10 @@ dialog (gint32 image_ID,
gtk_table_attach_defaults (GTK_TABLE (width), chain_button, 1, 3, 2, 3);
gtk_widget_show (chain_button);
/* connect to the 'value_changed' and "unit_changed" signals because we have to
take care of keeping the entries in sync when the chainbutton is active */
/* connect to the 'value_changed' signal because we have to take care
of keeping the entries in sync when the chainbutton is active */
gtk_signal_connect (GTK_OBJECT (width), "value_changed",
(GtkSignalFunc) entry_callback, chain_button);
gtk_signal_connect (GTK_OBJECT (width), "unit_changed",
(GtkSignalFunc) entry_callback, chain_button);
gtk_box_pack_end (GTK_BOX (hbox), width, FALSE, FALSE, 4);
gtk_widget_show (width);