[gegl] lua-ui: fix keybinding dispatch



commit c90f0b20b1006f0f3e1189d60a4a7bd7109c1a34
Author: Øyvind Kolås <pippin gimp org>
Date:   Sun Feb 24 18:09:57 2019 +0100

    lua-ui: fix keybinding dispatch

 bin/lua/viewer.lua | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/bin/lua/viewer.lua b/bin/lua/viewer.lua
index 6c30f4759..d2115d666 100644
--- a/bin/lua/viewer.lua
+++ b/bin/lua/viewer.lua
@@ -377,19 +377,19 @@ end
 
 
 mrg:add_binding("alt-right", NULL, "next image",
-  function() ffi.C.argvs_val ("next") end)
+  function() ffi.C.argvs_eval ("next") end)
 
 mrg:add_binding("alt-left", NULL, "rev image",
-  function() ffi.C.argvs_val ("prev") end)
+  function() ffi.C.argvs_eval ("prev") end)
 
 mrg:add_binding("control-s", NULL, "toggle slideshow",
-  function() ffi.C.argvs_val ("toggle slideshow") end)
+  function() ffi.C.argvs_eval ("toggle slideshow") end)
 
 mrg:add_binding("control-m", NULL, "toggle mipmap",
-  function() ffi.C.argvs_val ("toggle mipmap") end)
+  function() ffi.C.argvs_eval ("toggle mipmap") end)
 
 mrg:add_binding("control-y", NULL, "toggle display profile",
-  function() ffi.C.argvs_val ("toggle colormanaged-display") end)
+  function() ffi.C.argvs_eval ("toggle colormanaged-display") end)
 
 mrg:add_binding("control-delete", NULL, "discard",
-  function() ffi.C.argvs_val ("discard") end)
+  function() ffi.C.argvs_eval ("discard") end)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]