st: Remove invalid introspection annotation

(optional) is only valid for (out) or (inout) parameters (that are
marked as such).

However GError** arguments appear as throws="1" in the GIR anyway
instead of an explicit parameter, so we don't need any annotation
at all here.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1408
This commit is contained in:
Florian Müllner 2020-08-14 00:04:38 +02:00 committed by Florian Müllner
parent 3c6f59ae6d
commit 923d926345

View File

@ -254,7 +254,7 @@ insert_stylesheet (StTheme *theme,
* st_theme_load_stylesheet:
* @theme: a #StTheme
* @file: a #GFile
* @error: (optional): a #GError
* @error: a #GError
*
* Load the stylesheet associated with @file.
*