From 4a3742979dc84b06d46749678e6c9b0f7fdbac0c Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sat, 22 Feb 2020 14:54:48 +0000 Subject: Remove GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER We don't need a whole separate action, now that the file chooser widget can create folders; we can create use SELECT_FOLDER and create one. --- gtk/gtkfilechooser.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'gtk/gtkfilechooser.h') diff --git a/gtk/gtkfilechooser.h b/gtk/gtkfilechooser.h index c641cba86c..dccef32ca0 100644 --- a/gtk/gtkfilechooser.h +++ b/gtk/gtkfilechooser.h @@ -44,9 +44,6 @@ typedef struct _GtkFileChooser GtkFileChooser; * @GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER: Indicates an Open mode for * selecting folders. The file chooser will let the user pick an * existing folder. - * @GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER: Indicates a mode for creating a - * new folder. The file chooser will let the user name an existing or - * new folder. * * Describes whether a #GtkFileChooser is being used to open existing files * or to save to a possibly new file. @@ -55,8 +52,7 @@ typedef enum { GTK_FILE_CHOOSER_ACTION_OPEN, GTK_FILE_CHOOSER_ACTION_SAVE, - GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, - GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER + GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER } GtkFileChooserAction; GDK_AVAILABLE_IN_ALL -- cgit v1.2.1