use gimp_int_combo_box_connect() so that the initial selection causes the

2004-10-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	use gimp_int_combo_box_connect() so that the initial selection
	causes the "changed" callback to be run. Should fix bug #156659.
This commit is contained in:
Sven Neumann 2004-10-28 09:31:44 +00:00 committed by Sven Neumann
parent d204dea31d
commit 6b2243f12d
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2004-10-28 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
use gimp_int_combo_box_connect() so that the initial selection
causes the "changed" callback to be run. Should fix bug #156659.
2004-10-28 Øyvind Kolås <pippin@gimp.org>
* app/display/gimpdisplayshell-preview.c: Improve preview accuracy of

View File

@ -308,11 +308,9 @@ script_fu_interface (SFScript *script)
break;
}
gimp_int_combo_box_set_active (GIMP_INT_COMBO_BOX (widget), *ID_ptr);
g_signal_connect (widget, "changed",
G_CALLBACK (gimp_int_combo_box_get_active),
ID_ptr);
gimp_int_combo_box_connect (GIMP_INT_COMBO_BOX (widget), *ID_ptr,
G_CALLBACK (gimp_int_combo_box_get_active),
ID_ptr);
break;
case SF_COLOR: