From 1ea5a08c8fc47e67597c4ecf1df9095a178d1105 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Luk=C3=A1=C5=A1=20Tyrychtr?= Date: Mon, 23 Jan 2023 10:56:57 +0100 Subject: [PATCH] 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 --- gtk/gtkcssprovider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.30.2