diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-07-04 20:29:59 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-07-08 00:06:14 -0400 |
commit | 96d8afbccb08709db70995be6f273309a6e484e5 (patch) | |
tree | 040de8fc3bc66f87a34e363d2788de995e50527a /gtk/gtkprivate.h | |
parent | b840a59766af16e1be365aa23cd69ff12351d400 (diff) | |
download | gtk+-96d8afbccb08709db70995be6f273309a6e484e5.tar.gz |
Add a portal helper
Instead of open-coding checks for sandboxing in multiple
places, add a helper function that caches the information.
https://bugzilla.gnome.org/show_bug.cgi?id=768499
Diffstat (limited to 'gtk/gtkprivate.h')
-rw-r--r-- | gtk/gtkprivate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkprivate.h b/gtk/gtkprivate.h index 7602394675..af130cd3f0 100644 --- a/gtk/gtkprivate.h +++ b/gtk/gtkprivate.h @@ -95,6 +95,8 @@ gboolean _gtk_propagate_captured_event (GtkWidget *widget, gdouble _gtk_get_slowdown (); void _gtk_set_slowdown (gdouble slowdown_factor); +gboolean gtk_should_use_portal (void); + #ifdef G_OS_WIN32 void _gtk_load_dll_with_libgtk3_manifest (const char *dllname); #endif |