Merge branch 'content-type-guess-filename' into 'main'

annotate `g_content_type_guess` parameter as filename

See merge request GNOME/glib!2411
This commit is contained in:
Emmanuele Bassi 2021-12-28 21:02:38 +00:00
commit 32b4bcb668

View File

@ -736,7 +736,7 @@ g_content_type_from_mime_type (const gchar *mime_type)
/** /**
* g_content_type_guess: * g_content_type_guess:
* @filename: (nullable): a string, or %NULL * @filename: (nullable) (type filename): a path, or %NULL
* @data: (nullable) (array length=data_size): a stream of data, or %NULL * @data: (nullable) (array length=data_size): a stream of data, or %NULL
* @data_size: the size of @data * @data_size: the size of @data
* @result_uncertain: (out) (optional): return location for the certainty * @result_uncertain: (out) (optional): return location for the certainty