[glib: 1/2] annotate `g_content_type_guess` parameter as filename




commit 82ece18644ae2ff350934d7939888f464b702014
Author: Andy Russell <arussell123 gmail com>
Date:   Tue Dec 28 15:36:54 2021 -0500

    annotate `g_content_type_guess` parameter as filename

 gio/gcontenttype.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/gcontenttype.c b/gio/gcontenttype.c
index 79658db8c..3e5b841ab 100644
--- a/gio/gcontenttype.c
+++ b/gio/gcontenttype.c
@@ -736,7 +736,7 @@ g_content_type_from_mime_type (const gchar *mime_type)
 
 /**
  * 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_size: the size of @data
  * @result_uncertain: (out) (optional): return location for the certainty


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]