aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-file-helpers.c
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-08-12 19:37:05 +0800
committerXan Lopez <xan@gnome.org>2009-08-12 19:47:16 +0800
commitcad7e6662ea287c565aa1c5d77c91d26a9ce3fd2 (patch)
tree04d8823d7ecb77c8aa6ae70d51af0938e59b2abb /lib/ephy-file-helpers.c
parentc95f5cbcedaa31dd6b66c8684b61a9f27c9d855f (diff)
downloadgsoc2013-epiphany-cad7e6662ea287c565aa1c5d77c91d26a9ce3fd2.tar
gsoc2013-epiphany-cad7e6662ea287c565aa1c5d77c91d26a9ce3fd2.tar.gz
gsoc2013-epiphany-cad7e6662ea287c565aa1c5d77c91d26a9ce3fd2.tar.bz2
gsoc2013-epiphany-cad7e6662ea287c565aa1c5d77c91d26a9ce3fd2.tar.lz
gsoc2013-epiphany-cad7e6662ea287c565aa1c5d77c91d26a9ce3fd2.tar.xz
gsoc2013-epiphany-cad7e6662ea287c565aa1c5d77c91d26a9ce3fd2.tar.zst
gsoc2013-epiphany-cad7e6662ea287c565aa1c5d77c91d26a9ce3fd2.zip
ephy-file-helpers: add ephy_has_private_profile
To know whether or not we are using a private profile different from the default one.
Diffstat (limited to 'lib/ephy-file-helpers.c')
-rw-r--r--lib/ephy-file-helpers.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index c3741a7b5..8777c9616 100644
--- a/lib/ephy-file-helpers.c
+++ b/lib/ephy-file-helpers.c
@@ -248,6 +248,12 @@ ephy_dot_dir (void)
}
gboolean
+ephy_has_private_profile (void)
+{
+ return have_private_profile;
+}
+
+gboolean
ephy_file_helpers_init (const char *profile_dir,
gboolean private_profile,
gboolean keep_temp_dir,