aboutsummaryrefslogtreecommitdiffstats
path: root/src/pdm-dialog.c
diff options
context:
space:
mode:
authorXan Lopez <xlopez@igalia.com>2011-06-30 02:03:40 +0800
committerXan Lopez <xlopez@igalia.com>2011-06-30 02:03:40 +0800
commit5b3154f5ddb95f162389340b178d6fc51b3a3bd7 (patch)
tree3a8864b23bc42022667951be1aae6374bd0a4419 /src/pdm-dialog.c
parent4c444c0f7693b9a0f3058729bea04832b66d6214 (diff)
downloadgsoc2013-epiphany-5b3154f5ddb95f162389340b178d6fc51b3a3bd7.tar.gz
gsoc2013-epiphany-5b3154f5ddb95f162389340b178d6fc51b3a3bd7.tar.zst
gsoc2013-epiphany-5b3154f5ddb95f162389340b178d6fc51b3a3bd7.zip
Always use the EphyEmbedShell to know if we are a private instance
We can now get rid of the EphyFileHelpers method.
Diffstat (limited to 'src/pdm-dialog.c')
-rw-r--r--src/pdm-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index 54d36d118..f5ce73f97 100644
--- a/src/pdm-dialog.c
+++ b/src/pdm-dialog.c
@@ -1518,7 +1518,7 @@ pdm_dialog_init (PdmDialog *dialog)
PdmDialogPrivate *priv;
PdmActionInfo *cookies, *passwords;
GtkWidget *window;
- gboolean has_private_profile = ephy_has_private_profile ();
+ gboolean has_private_profile = ephy_embed_shell_is_private_instance (embed_shell);
priv = dialog->priv = EPHY_PDM_DIALOG_GET_PRIVATE (dialog);