So plugins can set the current command rather than only get it, as well as get 
a specific command rather than only set it.

__Note:__ This needs real code review since I had a hard time following the 
code in `build.c`, I'm not 100% confident I implemented this correctly. Will be 
testing with a real plugin soon.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/1225

-- Commit Summary --

  * Make build_get/set_(current_)menu_item functions symmetrical

-- File Changes --

    M src/build.c (175)
    M src/build.h (8)
    M src/plugindata.h (2)

-- Patch Links --

https://github.com/geany/geany/pull/1225.patch
https://github.com/geany/geany/pull/1225.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1225

Reply via email to