[gtk: 1/2] gtk_file_chooser_set_current_name: fix type of name argument




commit 992cd088cf77531d5e6781d5e80bd49f16fab4a5
Author: Thomas Holder <thomas thomas-holder de>
Date:   Fri Jun 5 12:43:49 2020 +0200

    gtk_file_chooser_set_current_name: fix type of name argument
    
    The description says UTF-8 string, but the annotation said filename.
    
    Cherry-picked from gtk-3-24 1573ff6803d9c7a41145d21d5fa640ddc493bad2

 gtk/gtkfilechooser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c
index decad3fcc8..d7eaae85b7 100644
--- a/gtk/gtkfilechooser.c
+++ b/gtk/gtkfilechooser.c
@@ -280,7 +280,7 @@ gtk_file_chooser_get_create_folders (GtkFileChooser *chooser)
 /**
  * gtk_file_chooser_set_current_name:
  * @chooser: a #GtkFileChooser
- * @name: (type filename): the filename to use, as a UTF-8 string
+ * @name: (type utf8): the filename to use, as a UTF-8 string
  * 
  * Sets the current name in the file selector, as if entered
  * by the user. Note that the name passed in here is a UTF-8


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