summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechoosernativeprivate.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2015-11-11 16:31:53 +0100
committerMatthias Clasen <mclasen@redhat.com>2016-07-08 00:07:42 -0400
commit01d0bac83e7f12338d12e5669c408da3078f6010 (patch)
treeacb09d092a909dd84f5ef9b777c5723421a98cb8 /gtk/gtkfilechoosernativeprivate.h
parente47957406d60345efa624dea6517f7d793fc1a13 (diff)
downloadgtk+-01d0bac83e7f12338d12e5669c408da3078f6010.tar.gz
Initial version of file chooser portal support
Implement GtkFileChooserNative for sandboxed applications by talking to org.freedesktop.portal.FileChooser. Currently, this supports OPEN and SAVE mode. https://bugzilla.gnome.org/show_bug.cgi?id=768499
Diffstat (limited to 'gtk/gtkfilechoosernativeprivate.h')
-rw-r--r--gtk/gtkfilechoosernativeprivate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkfilechoosernativeprivate.h b/gtk/gtkfilechoosernativeprivate.h
index 6e271ffc0e..ab3b6cf0c7 100644
--- a/gtk/gtkfilechoosernativeprivate.h
+++ b/gtk/gtkfilechoosernativeprivate.h
@@ -48,6 +48,9 @@ struct _GtkFileChooserNative
gboolean gtk_file_chooser_native_win32_show (GtkFileChooserNative *self);
void gtk_file_chooser_native_win32_hide (GtkFileChooserNative *self);
+gboolean gtk_file_chooser_native_portal_show (GtkFileChooserNative *self);
+void gtk_file_chooser_native_portal_hide (GtkFileChooserNative *self);
+
G_END_DECLS
#endif /* __GTK_FILE_CHOOSER_NATIVE_PRIVATE_H__ */