docs: Add missing Deprecated annotations

This commit is contained in:
Emmanuele Bassi 2022-10-30 20:08:39 +00:00
parent 37fadb20a9
commit d665b0e042

View File

@ -84,6 +84,8 @@ gtk_file_chooser_default_init (GtkFileChooserInterface *iface)
* GtkFileChooser:action: (attributes org.gtk.Property.get=gtk_file_chooser_get_action org.gtk.Property.set=gtk_file_chooser_set_action)
*
* The type of operation that the file chooser is performing.
*
* Deprecated: 4.10: Use [class@Gtk.FileDialog] instead
*/
g_object_interface_install_property (iface,
g_param_spec_enum ("action", NULL, NULL,
@ -96,6 +98,8 @@ gtk_file_chooser_default_init (GtkFileChooserInterface *iface)
* GtkFileChooser:filter: (attributes org.gtk.Property.get=gtk_file_chooser_get_filter org.gtk.Property.set=gtk_file_chooser_set_filter)
*
* The current filter for selecting files that are displayed.
*
* Deprecated: 4.10: Use [class@Gtk.FileDialog] instead
*/
g_object_interface_install_property (iface,
g_param_spec_object ("filter", NULL, NULL,
@ -106,6 +110,8 @@ gtk_file_chooser_default_init (GtkFileChooserInterface *iface)
* GtkFileChooser:select-multiple: (attributes org.gtk.Property.get=gtk_file_chooser_get_select_multiple org.gtk.Property.set=gtk_file_chooser_set_select_multiple)
*
* Whether to allow multiple files to be selected.
*
* Deprecated: 4.10: Use [class@Gtk.FileDialog] instead
*/
g_object_interface_install_property (iface,
g_param_spec_boolean ("select-multiple", NULL, NULL,
@ -120,6 +126,8 @@ gtk_file_chooser_default_init (GtkFileChooserInterface *iface)
*
* The returned object should not be modified. It may
* or may not be updated for later changes.
*
* Deprecated: 4.10: Use [class@Gtk.FileDialog] instead
*/
g_object_interface_install_property (iface,
g_param_spec_object ("filters", NULL, NULL,
@ -134,6 +142,8 @@ gtk_file_chooser_default_init (GtkFileChooserInterface *iface)
*
* The returned object should not be modified. It may
* or may not be updated for later changes.
*
* Deprecated: 4.10: Use [class@Gtk.FileDialog] instead
*/
g_object_interface_install_property (iface,
g_param_spec_object ("shortcut-folders", NULL, NULL,
@ -145,6 +155,8 @@ gtk_file_chooser_default_init (GtkFileChooserInterface *iface)
*
* Whether a file chooser not in %GTK_FILE_CHOOSER_ACTION_OPEN mode
* will offer the user to create new folders.
*
* Deprecated: 4.10: Use [class@Gtk.FileDialog] instead
*/
g_object_interface_install_property (iface,
g_param_spec_boolean ("create-folders", NULL, NULL,
@ -619,6 +631,8 @@ gtk_file_chooser_remove_shortcut_folder (GtkFileChooser *chooser,
*
* Note that the @chooser takes ownership of the filter if it is floating,
* so you have to ref and sink it if you want to keep a reference.
*
* Deprecated: 4.10: Use [class@Gtk.FileDialog] instead
*/
void
gtk_file_chooser_add_filter (GtkFileChooser *chooser,
@ -661,6 +675,8 @@ gtk_file_chooser_remove_filter (GtkFileChooser *chooser,
*
* Returns: (transfer full): a `GListModel` containing the current set
* of user-selectable filters.
*
* Deprecated: 4.10: Use [class@Gtk.FileDialog] instead
*/
GListModel *
gtk_file_chooser_get_filters (GtkFileChooser *chooser)