Revision: 2299 http://geany.svn.sourceforge.net/geany/?rev=2299&view=rev Author: ntrel Date: 2008-03-03 08:53:12 -0800 (Mon, 03 Mar 2008)
Log Message: ----------- Fix segfault when setting custom keybindings in Prefs dialog.
Modified Paths: -------------- branches/plugin-keybindings/ChangeLog branches/plugin-keybindings/src/prefs.c
Modified: branches/plugin-keybindings/ChangeLog =================================================================== --- branches/plugin-keybindings/ChangeLog 2008-02-29 22:26:30 UTC (rev 2298) +++ branches/plugin-keybindings/ChangeLog 2008-03-03 16:53:12 UTC (rev 2299) @@ -1,3 +1,9 @@ +2008-03-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> + + * src/prefs.c: + Fix segfault when setting custom keybindings in Prefs dialog. + + 2008-02-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/keybindings.c, src/keybindings.h, src/tools.c,
Modified: branches/plugin-keybindings/src/prefs.c =================================================================== --- branches/plugin-keybindings/src/prefs.c 2008-02-29 22:26:30 UTC (rev 2298) +++ branches/plugin-keybindings/src/prefs.c 2008-03-03 16:53:12 UTC (rev 2299) @@ -1119,7 +1119,7 @@
/* lookup the parent to get group index */ gtk_tree_model_iter_parent(GTK_TREE_MODEL(store), &parent, iter); - gtk_tree_model_get(GTK_TREE_MODEL(store), iter, KB_TREE_INDEX, &group_idx, -1); + gtk_tree_model_get(GTK_TREE_MODEL(store), &parent, KB_TREE_INDEX, &group_idx, -1);
return keybindings_lookup_item(group_idx, keybinding_idx); }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.