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>2021-01-18 22:14:03 +0100
commit992cd088cf77531d5e6781d5e80bd49f16fab4a5 (patch)
tree87dde2ba98c50bebefaa33cbb923e88453cb5630
parentf6010b2a59eb208b2fb61df04052466c9984220a (diff)
downloadgtk+-992cd088cf77531d5e6781d5e80bd49f16fab4a5.tar.gz
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
-rw-r--r--gtk/gtkfilechooser.c2
1 files changed, 1 insertions, 1 deletions
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