gtk_file_chooser_set_current_name: fix type of name argument

The description says UTF-8 string, but the annotation said filename.
This commit is contained in:
Thomas Holder 2020-06-05 12:43:49 +02:00
parent d60746ae6c
commit 1573ff6803

View File

@ -957,7 +957,7 @@ gtk_file_chooser_get_current_folder (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