This fixes minor problem which affected C++ plugins since 3e649dddef93723ebc2487d30023fc5f62d894ca where they would have to add a the cast themselves.
See comment: https://github.com/geany/geany/commit/3e649dddef93723ebc2487d30023fc5f62d894... You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1607
-- Commit Summary --
* Add cast to `GtkWidget*` to match previous behaviour
-- File Changes --
M src/gtkcompat.h (4)
-- Patch Links --
https://github.com/geany/geany/pull/1607.patch https://github.com/geany/geany/pull/1607.diff