-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"tree-store:remove?" should be "tree-store:remove!" #87
Comments
Out of curiosity, would this issue be resolved if you modified the gir as you proposed and used the typelib generated from that? |
Yes--but https://gitlab.gnome.org/GNOME/gtk/-/issues/3189 states that this new usage of See also: https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/192 , where it says "Another use-case is in-place modification of input where argument is passed using only one level of indirection." I checked the functions mentioned in the latter issue 192 in gobject-introspection 1.62.0 and in pango 1.44.7:
There's also issue 196 which proposes to have an extra "modified-in-place" marker (and https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/166 for a different one ( |
I can see, that they'd object to overloading |
https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/192 proposes to have a new Note that But I don't know how it is for the other boxed types--although one could probably use |
|
gtk_tree_store_remove
gets an pointer to aGtkTreeIter
record, which it modifies. Therefore, the procedure name should mark that the procedure is destructive.The respective gir part is (in gtk+-3.24.20):
... so I don't see how guile-gi could reliably detect that
iter
is modified by that function.Even
(g_arg_info_get_direction(ai) == GI_DIRECTION_INOUT)
is not true.Filing Gtk bug...
The text was updated successfully, but these errors were encountered: