summaryrefslogtreecommitdiff
path: root/lib/ephy-flatpak-utils.h
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2019-11-08 13:03:48 -0600
committerJan-Michael Brummer <jan.brummer@tabos.org>2019-11-12 16:45:45 +0000
commit0744f6362ab13c94203ba6e41c9a12a0b09dda83 (patch)
treea28e405e4907f310c4829ae11bf7bfcba506a353 /lib/ephy-flatpak-utils.h
parent7e367778fb5c8c90e509a612c4f226700f8772a2 (diff)
downloadepiphany-0744f6362ab13c94203ba6e41c9a12a0b09dda83.tar.gz
Ensure flatpak check is not used in web process code
This function will do the wrong thing if it is ever called in the web process!
Diffstat (limited to 'lib/ephy-flatpak-utils.h')
-rw-r--r--lib/ephy-flatpak-utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ephy-flatpak-utils.h b/lib/ephy-flatpak-utils.h
index 1af19f22b..c6c36da96 100644
--- a/lib/ephy-flatpak-utils.h
+++ b/lib/ephy-flatpak-utils.h
@@ -22,7 +22,10 @@
#include <gio/gio.h>
+void ephy_flatpak_utils_set_is_web_process_extension (void);
+
gboolean ephy_is_running_inside_flatpak (void);
+
void ephy_open_file_via_flatpak_portal (const char *path,
GCancellable *cancellable,
GAsyncReadyCallback callback,