From 8fb79f143909c2a12fd3ad9435859a6331178424 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Wed, 24 Sep 2008 09:12:36 +0000 Subject: [PATCH] call gimp_controller_editor_sel_changed() with the right GtkTreeSelection 2008-09-24 Michael Natterer * 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 --- ChangeLog | 9 +++++++++ app/widgets/gimpcontrollereditor.c | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 874f7c8b11..63e999076b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2008-09-24 Michael Natterer + + * 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 * tools/pdbgen/pdb/selection.pdb (selection_layer_alpha): Update diff --git a/app/widgets/gimpcontrollereditor.c b/app/widgets/gimpcontrollereditor.c index ffdcb2d53f..875a4432a8 100644 --- a/app/widgets/gimpcontrollereditor.c +++ b/app/widgets/gimpcontrollereditor.c @@ -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);