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 1573ff6803
This commit is contained in:
Thomas Holder 2020-06-05 12:43:49 +02:00
parent f6010b2a59
commit 992cd088cf

View File

@ -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