plug-ins: make file_gif_spin_button_int_init() generic.
Use the `value_pointer` parameter instead of modifying the globale `gsvals.default_delay`. This doesn't change anything in current code where file_gif_spin_button_int_init() is only used for connecting this variable to the delay spin button, but could have been a problem if it were reused in the future.
This commit is contained in:
parent
a39ee69656
commit
21d8c00d16
1 changed files with 1 additions and 1 deletions
|
|
@ -1145,7 +1145,7 @@ file_gif_spin_button_int_init (GtkBuilder *builder,
|
|||
gtk_adjustment_set_value (adjustment, initial_value);
|
||||
g_signal_connect (adjustment, "value-changed",
|
||||
G_CALLBACK (gimp_int_adjustment_update),
|
||||
&gsvals.default_delay);
|
||||
value_pointer);
|
||||
|
||||
return spin_button;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue