WrapEarnPass left a comment (geany/geany-plugins#1570)
I think I finally managed to fix this in a reasonable way.
The change depends on a specific version of the geany api.
So, define that.
```
--- a/geanylua/glspi_keycmd.h
+++ b/geanylua/glspi_keycmd.h
@@ -166,7 +166,9 @@ static KeyCmdHashEntry key_cmd_hash_entries[] = {
{"VIEW_FULLSCREEN", GEANY_KEY_GROUP_VIEW, GEANY_KEYS_VIEW_FULLSCREEN},
{"VIEW_MESSAGEWINDOW", GEANY_KEY_GROUP_VIEW,
GEANY_KEYS_VIEW_MESSAGEWINDOW},
{"VIEW_SIDEBAR", GEANY_KEY_GROUP_VIEW, GEANY_KEYS_VIEW_SIDEBAR},
+#if GEANY_API_VERSION > 250
{"VIEW_TOGGLE_MENUBAR", GEANY_KEY_GROUP_VIEW,
GEANY_KEYS_VIEW_TOGGLE_MENUBAR},
+#endif
```
Now it builds on geany2-1, and 2-2, without having to make a hard dependency on
geany >= 2.2
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1570#issuecomment-4934753856
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/issues/1570/[email protected]>