Merge branch 'file-chooser-docs' into 'gtk-3-24'

gtkfilechooser: Fix open() references in documentation

See merge request GNOME/gtk!2682
This commit is contained in:
Emmanuele Bassi 2020-10-12 12:26:45 +00:00
commit 1eee1980ed

View File

@ -68,7 +68,7 @@
* variable.
*
* This means that while you can pass the result of
* gtk_file_chooser_get_filename() to open() or fopen(),
* gtk_file_chooser_get_filename() to g_open() or g_fopen(),
* you may not be able to directly set it as the text of a
* #GtkLabel widget unless you convert it first to UTF-8,
* which all GTK+ widgets expect. You should use g_filename_to_utf8()