gtk-rs / gir

Tool to generate rust bindings and user API for glib-based libraries
https://gtk-rs.org/gir/book/
MIT License
225 stars 98 forks source link

codegen: Avoid double alias on badly annotated fn #1572

Closed A6GibKm closed 1 month ago

A6GibKm commented 1 month ago

If both the setter and getter for a property have the same annotation we would add the same alias twice.

e.g. get_property or org.gtk.get_property set on the setter, the we would add the doc alias twice.