Forgive my curiosity :) Why not
```c
if (tab_idx >= 0) {
if (tab_idx != gtk_notebook_get_current_page(NOTEBOOK)) {
gtk_notebook_set_current_page(NOTEBOOK, tab_idx);
}
}
```
?
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1234#issuecomment-2381321216
You are receiving this because you are subscribed to this thread.
Message ID:
geany/geany-plugins/pull/1234/c2381321216@github.com