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
LGTM
LGTM, seems easy enough to be worth fixing. Maybe comment why it's useful, 'cause I'm way too much of a C developer not to feel like removing the cast one day or another :)
BTW it's probably a good idea to add this cast for C as well, so people developing on GTK3 yet using those will use the right variable type or get a warning.
b4n approved this pull request.
LGTM. I'd merge this in the near future unless anyone complains.
kugel- approved this pull request.
Merged #1607.
github-comments@lists.geany.org