prefs: Remove some global state in keybinding-related code
commit2559cda95408bd8b32a96baff1918a78ce649c75
authorColomban Wendling <ban@herbesfolles.org>
Sun, 10 Aug 2014 13:28:29 +0000 (10 15:28 +0200)
committerColomban Wendling <ban@herbesfolles.org>
Sun, 10 Aug 2014 13:47:18 +0000 (10 15:47 +0200)
tree81150eb5cddb980a33efd3d45838604ff20aec8e
parent852f3266507ccd06a894a797c67881cc21e5dca7
prefs: Remove some global state in keybinding-related code

Use gtk_dialog_run() to run the key input dialog, which is modal anyway.
This avoids having to pass the label and the iter around for the dialog
response callback to have them, as they now only are used directly in the
function setting them in the first place.
src/prefs.c