From 911ae649311c0a8c955793d14a35324f85eaa4a4 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 9 Jul 2020 01:44:09 -0400 Subject: [PATCH] filechoosernative: Update docs Remove mention of things that are no longer in the filechooser api. --- gtk/gtkfilechoosernative.c | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/gtk/gtkfilechoosernative.c b/gtk/gtkfilechoosernative.c index e5510009b7..203206956f 100644 --- a/gtk/gtkfilechoosernative.c +++ b/gtk/gtkfilechoosernative.c @@ -163,15 +163,10 @@ * * #GtkFileChooser::current-folder-changed * * #GtkFileChooser::selection-changed * - * You can also not use the methods that directly control user navigation: - * * gtk_file_chooser_unselect_filename() - * * gtk_file_chooser_select_all() - * * gtk_file_chooser_unselect_all() - * * If you need any of the above you will have to use #GtkFileChooserDialog directly. * - * No operations that change the dialog work while the dialog is visible. Set - * all the properties that are required before showing the dialog. + * No operations that change the dialog work while the dialog is visible. + * Set all the properties that are required before showing the dialog. * * ## Win32 details ## {#gtkfilechooserdialognative-win32} * @@ -179,7 +174,7 @@ * used. It supports many of the features that #GtkFileChooserDialog * does, but there are some things it does not handle: * - * * Any #GtkFileFilter added using a mimetype or custom filter. + * * Any #GtkFileFilter added using a mimetype * * If any of these features are used the regular #GtkFileChooserDialog * will be used in place of the native one. @@ -189,10 +184,7 @@ * When the org.freedesktop.portal.FileChooser portal is available on the * session bus, it is used to bring up an out-of-process file chooser. Depending * on the kind of session the application is running in, this may or may not - * be a GTK+ file chooser. In this situation, the following things are not - * supported and will be silently ignored: - * - * * Any #GtkFileFilter added with a custom filter. + * be a GTK file chooser. * * ## macOS details ## {#gtkfilechooserdialognative-macos} * @@ -200,8 +192,6 @@ * file chooser dialogs. Some features provided by #GtkFileChooserDialog are * not supported: * - * * Any #GtkFileFilter added with a custom filter. - * * * Shortcut folders. */