API issue with GAsyncResult parameter position in *_finish functions
I assumed there are some kind of convention for the GAsyncResult
parameter placement in *_finish
functions.
In glib/gio
the GAsyncResult
parameter always is put before possible asynchronous out-parameters which seems to be case for gtk+ as well. On the other hand gdbus-codegen
doesn't follow this way and places the GAsyncResult
at end of the parameter list.
In gtk+-4.0
there are two new functions gdk_clipboard_read_finish
(41f70e18) and gdk_drop_read_finish
(6919d8c5) which does it like gdbus-codegen.
Edited by Rico Tzschichholz