andlabs / andlabs/libui

unix: uiTableModel_iter_nth_child is broken.

Open
#504 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
10.9k
Forks
612
PR merge metrics
No merged PRs in 30d

Description

According to the docs over at [gnome](https://developer.gnome.org/gtk3/3.24/GtkTreeModel.html#gtk-tree-model-iter-nth-child) the `*_iter_nth_child` should be a setter for `iter`.
The current implementation performs a check `iter->stamp == STAMP_GOOD` and aborts. It should instead set `iter`.

Somehow gtk seems to function (in its current form) nonetheless.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.