summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechoosernativeprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-07-05 22:13:22 -0400
committerMatthias Clasen <mclasen@redhat.com>2016-07-08 00:08:33 -0400
commit4600209962e051d97b6fac6a81424bcf54707f46 (patch)
treeef95a142319572d8010f84029263ea7787a370c4 /gtk/gtkfilechoosernativeprivate.h
parent5839c138434cd2ba3b0bec400e17b6334a020800 (diff)
downloadgtk+-4600209962e051d97b6fac6a81424bcf54707f46.tar.gz
Implement combobox apis for GtkFileChooserNativePortal
https://bugzilla.gnome.org/show_bug.cgi?id=768499
Diffstat (limited to 'gtk/gtkfilechoosernativeprivate.h')
-rw-r--r--gtk/gtkfilechoosernativeprivate.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk/gtkfilechoosernativeprivate.h b/gtk/gtkfilechoosernativeprivate.h
index ab3b6cf0c7..283eda902d 100644
--- a/gtk/gtkfilechoosernativeprivate.h
+++ b/gtk/gtkfilechoosernativeprivate.h
@@ -23,6 +23,14 @@
G_BEGIN_DECLS
+typedef struct {
+ char *id;
+ char *label;
+ char **options;
+ char **option_labels;
+ char *selected;
+} GtkFileChooserNativeChoice;
+
struct _GtkFileChooserNative
{
GtkNativeDialog parent_instance;
@@ -36,6 +44,7 @@ struct _GtkFileChooserNative
GFile *current_folder;
GFile *current_file;
char *current_name;
+ GSList *choices;
/* Fallback mode */
GtkWidget *dialog;