From 7c142862ab92285a67ec45992aa75025c8e16b12 Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@collabora.com> Date: Thu, 22 Aug 2019 17:07:47 +0100 Subject: [PATCH] system-info: Add missing GObject-Introspection annotation We aren't really relying on GObject-Introspection in this project, but it can be a useful tool for rapid prototyping in Python or Javascript, and it also forces us to provide C APIs that match GLib conventions and are easy to reason about. Signed-off-by: Simon McVittie <smcv@collabora.com> --- steam-runtime-tools/system-info.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/steam-runtime-tools/system-info.c b/steam-runtime-tools/system-info.c index dd0ceceb9..da0ed54bd 100644 --- a/steam-runtime-tools/system-info.c +++ b/steam-runtime-tools/system-info.c @@ -847,8 +847,9 @@ srt_system_info_check_graphics (SrtSystemInfo *self, * least %SRT_RENDERER_GL on %SRT_WINDOW_SYSTEM_GLX. Additional combinations * will be added in future versions of this library. * - * Returns: (transfer full): A list of #SrtGraphics objects representing the - * items tested and results. Free with 'glist_free_full(list, g_object_unref)`. + * Returns: (transfer full) (type SrtGraphics): A list of #SrtGraphics objects + * representing the items tested and results. + * Free with 'glist_free_full(list, g_object_unref)`. */ GList * srt_system_info_check_all_graphics (SrtSystemInfo *self, const char *multiarch_tuple) -- GitLab