SF.net SVN: geany: [2300] branches/plugin-keybindings

ntrel at users.sourceforge.net ntrel at xxxxx
Mon Mar 3 17:05:14 UTC 2008


Revision: 2300
          http://geany.svn.sourceforge.net/geany/?rev=2300&view=rev
Author:   ntrel
Date:     2008-03-03 09:05:00 -0800 (Mon, 03 Mar 2008)

Log Message:
-----------
Fix clearing a shortcut when overriding it 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-03-03 16:53:12 UTC (rev 2299)
+++ branches/plugin-keybindings/ChangeLog	2008-03-03 17:05:00 UTC (rev 2300)
@@ -2,6 +2,7 @@
 
  * src/prefs.c:
    Fix segfault when setting custom keybindings in Prefs dialog.
+   Fix clearing a shortcut when overriding it in Prefs dialog.
 
 
 2008-02-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>

Modified: branches/plugin-keybindings/src/prefs.c
===================================================================
--- branches/plugin-keybindings/src/prefs.c	2008-03-03 16:53:12 UTC (rev 2299)
+++ branches/plugin-keybindings/src/prefs.c	2008-03-03 17:05:00 UTC (rev 2300)
@@ -1241,7 +1241,7 @@
 		return;
 
 	/* find child kb node*/
-	if (! find_child_iter(&parent, group_id, &child))
+	if (! find_child_iter(&parent, keybinding_id, &child))
 		return;
 
 	gtk_tree_store_set(store, &child, KB_TREE_SHORTCUT, NULL, -1);	/* clear shortcut */


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list