From 992cd088cf77531d5e6781d5e80bd49f16fab4a5 Mon Sep 17 00:00:00 2001 From: Thomas Holder Date: Fri, 5 Jun 2020 12:43:49 +0200 Subject: [PATCH] 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