[gtksourceview/cherry-pick-37af3e1d] Merge branch 'guess-filename' into 'master'




commit 2286fcdb50dd9bd051b1b8ebae2d6dc824706bcf
Author: Christian Hergert <christian hergert me>
Date:   Tue Dec 28 21:31:47 2021 +0000

    Merge branch 'guess-filename' into 'master'
    
    annotate `guess_language` parameter as filename
    
    See merge request GNOME/gtksourceview!235
    
    (cherry picked from commit 37af3e1df3d185cc0d1fd347fb9b5ae29559e857)
    
    093fa194 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 eeba8a71..f065fdc3 100644
--- a/gtksourceview/gtksourcelanguagemanager.c
+++ b/gtksourceview/gtksourcelanguagemanager.c
@@ -601,7 +601,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 #GtkSourceLanguage for given file name and content type,


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