block gimp_prop_enum_combo_box_callback() before changing the combo-box.

2004-07-08  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimppropwidgets.c (gimp_prop_enum_combo_box_notify):
	block gimp_prop_enum_combo_box_callback() before changing the
	combo-box.
This commit is contained in:
Sven Neumann 2004-07-08 12:50:15 +00:00 committed by Sven Neumann
parent 8bc46f69f3
commit 822db32134
3 changed files with 24 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2004-07-08 Sven Neumann <sven@gimp.org>
* app/widgets/gimppropwidgets.c (gimp_prop_enum_combo_box_notify):
block gimp_prop_enum_combo_box_callback() before changing the
combo-box.
2004-07-08 Sven Neumann <sven@gimp.org>
* app/widgets/gimpsessioninfo.c: only write aux-info for properties

View File

@ -391,7 +391,15 @@ gimp_prop_enum_combo_box_notify (GObject *config,
param_spec->name, &value,
NULL);
gimp_int_combo_box_set_active (GIMP_INT_COMBO_BOX (combo_box), value);
g_signal_handlers_block_by_func (combo_box,
gimp_prop_enum_combo_box_callback,
config);
gimp_int_combo_box_set_active (GIMP_INT_COMBO_BOX (combo_box), value));
g_signal_handlers_unblock_by_func (combo_box,
gimp_prop_enum_combo_box_callback,
config);
}

View File

@ -391,7 +391,15 @@ gimp_prop_enum_combo_box_notify (GObject *config,
param_spec->name, &value,
NULL);
gimp_int_combo_box_set_active (GIMP_INT_COMBO_BOX (combo_box), value);
g_signal_handlers_block_by_func (combo_box,
gimp_prop_enum_combo_box_callback,
config);
gimp_int_combo_box_set_active (GIMP_INT_COMBO_BOX (combo_box), value));
g_signal_handlers_unblock_by_func (combo_box,
gimp_prop_enum_combo_box_callback,
config);
}