summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Holder <thomas@thomas-holder.de>2020-06-05 12:43:49 +0200
committerThomas Holder <thomas@thomas-holder.de>2020-06-05 12:43:49 +0200
commit1573ff6803d9c7a41145d21d5fa640ddc493bad2 (patch)
treeae1a66acd08aba166c02eb60cf00ae10006d4539
parentd60746ae6c75817341de50d0b9ae80baf0a46d76 (diff)
downloadgtk+-1573ff6803d9c7a41145d21d5fa640ddc493bad2.tar.gz
gtk_file_chooser_set_current_name: fix type of name argument
The description says UTF-8 string, but the annotation said filename.
-rw-r--r--gtk/gtkfilechooser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c
index 801eca621f..4e22c52b06 100644
--- a/gtk/gtkfilechooser.c
+++ b/gtk/gtkfilechooser.c
@@ -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