[gtksourceview: 1/2] annotate `guess_language` parameter as filename




commit 093fa1943097e9f0e796126f644a77d5535b5138
Author: Andy Russell <arussell123 gmail com>
Date:   Tue Dec 28 15:39:00 2021 -0500

    annotate `guess_language` parameter as filename

 gtksourceview/gtksourcelanguagemanager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtksourceview/gtksourcelanguagemanager.c b/gtksourceview/gtksourcelanguagemanager.c
index 84b3c8d0..43fd19e5 100644
--- a/gtksourceview/gtksourcelanguagemanager.c
+++ b/gtksourceview/gtksourcelanguagemanager.c
@@ -604,7 +604,7 @@ pick_lang_for_mime_type (GtkSourceLanguageManager *lm,
 /**
  * gtk_source_language_manager_guess_language:
  * @lm: a #GtkSourceLanguageManager.
- * @filename: (nullable): a filename in Glib filename encoding, or %NULL.
+ * @filename: (nullable) (type filename): a filename in Glib filename encoding, or %NULL.
  * @content_type: (nullable): a content type (as in GIO API), or %NULL.
  *
  * Picks a [class@Language] for given file name and content type,


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