From: Lukáš Tyrychtr Date: Mon, 23 Jan 2023 09:56:57 +0000 (+0100) Subject: GtkCssProvider: fix element type in docs X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~8^2~46^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1ea5a08c8fc47e67597c4ecf1df9095a178d1105;p=gtk4.git GtkCssProvider: fix element type in docs The method takes an array of char, which actually is UTF-8, so make the docs say so. Fixes #5543 --- diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c index 1cd3f4c12b..05adf95549 100644 --- a/gtk/gtkcssprovider.c +++ b/gtk/gtkcssprovider.c @@ -1086,7 +1086,7 @@ gtk_css_provider_load_internal (GtkCssProvider *self, /** * gtk_css_provider_load_from_data: * @css_provider: a `GtkCssProvider` - * @data: (array length=length) (element-type guint8): CSS data loaded in memory + * @data: (array length=length) (element-type utf8): CSS data loaded in memory * @length: the length of @data in bytes, or -1 for NUL terminated strings. If * @length is not -1, the code will assume it is not NUL terminated and will * potentially do a copy.