call gimp_controller_editor_sel_changed() with the right GtkTreeSelection

2008-09-24  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontrollereditor.c
	(gimp_controller_editor_edit_response): call
	gimp_controller_editor_sel_changed() with the right
	GtkTreeSelection object (the editor's, not the action
	list's). Fixes crash upon selecting an action for a controller
	event. Spotted by Alexander Rabtchevich.


svn path=/trunk/; revision=27041
This commit is contained in:
Michael Natterer 2008-09-24 09:12:36 +00:00 committed by Michael Natterer
parent 7bb585132d
commit 8fb79f1439
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,12 @@
2008-09-24 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpcontrollereditor.c
(gimp_controller_editor_edit_response): call
gimp_controller_editor_sel_changed() with the right
GtkTreeSelection object (the editor's, not the action
list's). Fixes crash upon selecting an action for a controller
event. Spotted by Alexander Rabtchevich.
2008-09-24 Martin Nordholts <martinn@svn.gnome.org>
* tools/pdbgen/pdb/selection.pdb (selection_layer_alpha): Update

View File

@ -796,7 +796,7 @@ gimp_controller_editor_edit_response (GtkWidget *dialog,
g_free (stock_id);
g_free (action_name);
gimp_controller_editor_sel_changed (editor->edit_sel, editor);
gimp_controller_editor_sel_changed (editor->sel, editor);
}
gtk_widget_destroy (dialog);