diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-07-04 12:15:47 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-07-06 10:36:35 -0400 |
commit | 76290e8ddb7001165e9f245730346de84e773058 (patch) | |
tree | 1921478791dbee38eba5eea86f6bd336ab1cdf13 /gtk/gtkfilechooserprivate.h | |
parent | 1a613de2f68e28827679340d2ec3bdef32acfed6 (diff) | |
download | gtk+-76290e8ddb7001165e9f245730346de84e773058.tar.gz |
filechooser: Add gtk_file_chooser_get_filters
Replace gtk_file_chooser_list_filters with a new
api that returns a list model.
Update all callers.
Diffstat (limited to 'gtk/gtkfilechooserprivate.h')
-rw-r--r-- | gtk/gtkfilechooserprivate.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/gtk/gtkfilechooserprivate.h b/gtk/gtkfilechooserprivate.h index 06a49dea03..d0f2b53910 100644 --- a/gtk/gtkfilechooserprivate.h +++ b/gtk/gtkfilechooserprivate.h @@ -58,33 +58,33 @@ struct _GtkFileChooserIface /* Methods */ - gboolean (*set_current_folder) (GtkFileChooser *chooser, - GFile *file, - GError **error); - GFile * (*get_current_folder) (GtkFileChooser *chooser); - void (*set_current_name) (GtkFileChooser *chooser, - const gchar *name); + gboolean (*set_current_folder) (GtkFileChooser *chooser, + GFile *file, + GError **error); + GFile * (*get_current_folder) (GtkFileChooser *chooser); + void (*set_current_name) (GtkFileChooser *chooser, + const gchar *name); gchar * (*get_current_name) (GtkFileChooser *chooser); - gboolean (*select_file) (GtkFileChooser *chooser, - GFile *file, - GError **error); - void (*unselect_file) (GtkFileChooser *chooser, - GFile *file); - void (*select_all) (GtkFileChooser *chooser); - void (*unselect_all) (GtkFileChooser *chooser); - GSList * (*get_files) (GtkFileChooser *chooser); - GtkFileSystem *(*get_file_system) (GtkFileChooser *chooser); - void (*add_filter) (GtkFileChooser *chooser, - GtkFileFilter *filter); - void (*remove_filter) (GtkFileChooser *chooser, - GtkFileFilter *filter); - GSList * (*list_filters) (GtkFileChooser *chooser); + gboolean (*select_file) (GtkFileChooser *chooser, + GFile *file, + GError **error); + void (*unselect_file) (GtkFileChooser *chooser, + GFile *file); + void (*select_all) (GtkFileChooser *chooser); + void (*unselect_all) (GtkFileChooser *chooser); + GSList * (*get_files) (GtkFileChooser *chooser); + GtkFileSystem *(*get_file_system) (GtkFileChooser *chooser); + void (*add_filter) (GtkFileChooser *chooser, + GtkFileFilter *filter); + void (*remove_filter) (GtkFileChooser *chooser, + GtkFileFilter *filter); + GListModel * (*get_filters) (GtkFileChooser *chooser); gboolean (*add_shortcut_folder) (GtkFileChooser *chooser, - GFile *file, - GError **error); + GFile *file, + GError **error); gboolean (*remove_shortcut_folder) (GtkFileChooser *chooser, - GFile *file, - GError **error); + GFile *file, + GError **error); GSList * (*list_shortcut_folders) (GtkFileChooser *chooser); /* Signals |