mirror of https://github.com/GNOME/gimp.git
file-jpeg: Use state of toggle button with the event
This commit is contained in:
parent
7a6b8f0e69
commit
080fd93d90
|
@ -707,7 +707,8 @@ toggle_arithmetic_coding (GtkToggleButton *togglebutton,
|
|||
{
|
||||
GtkWidget *optimize = GTK_WIDGET (user_data);
|
||||
|
||||
gtk_widget_set_sensitive (optimize, !jsvals.arithmetic_coding);
|
||||
gtk_widget_set_sensitive (optimize,
|
||||
!gtk_toggle_button_get_active (togglebutton));
|
||||
}
|
||||
#endif /* C_ARITH_CODING_SUPPORTED */
|
||||
|
||||
|
|
Loading…
Reference in New Issue