Commit 822db321 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

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.
parent 8bc46f69
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
......
......@@ -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);
}
......
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment