util.[ch] is mostly useless to non-C languages, but there are some useful functions in there, notably tp_user_action_time_from_x11() which can be used to work around the unintrospectability of TP_USER_ACTION_TIME_CURRENT_TIME (which is a g-i bug, <https://bugzilla.gnome.org/show_bug.cgi?id=639206>).
Created attachment 66665 [details] [review] Introspect util.[ch] Most of it is useless in non-C languages, so we (skip) it. However, tp_simple_async_report_success_in_idle(), tp_utf8_make_valid(), tp_escape_as_identifier() and the user-action-time functions all seem like useful things to have. The tp_g_value_slice_new() family confuses g-ir-scanner (which goes looking for a TpGValueSlice type), but they're all (skip)'d anyway, so #ifdef them out.
Created attachment 66666 [details] the resulting changes to the .gir
I would split it to util.h and util-introspectable.h then.
(In reply to comment #3) > I would split it to util.h and util-introspectable.h then. Well, if we want to got bug #54544's way, then +1 :-)
(In reply to comment #4) > Well, if we want to got bug #54544's way, then +1 :-) I think we do. Unintrospectable things should be the special case, not the default. Fixed in git for 0.19.9
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.