aboutsummaryrefslogtreecommitdiffstats
path: root/src/pdm-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdm-dialog.c')
-rw-r--r--src/pdm-dialog.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index 5243c1517..0b56a2cfd 100644
--- a/src/pdm-dialog.c
+++ b/src/pdm-dialog.c
@@ -1609,9 +1609,8 @@ pdm_dialog_init (PdmDialog *dialog)
PdmDialogPrivate *priv;
PdmActionInfo *cookies, *passwords;
GtkWidget *window;
- gboolean has_private_profile =
- ephy_embed_shell_get_mode (ephy_embed_shell_get_default ()) == EPHY_EMBED_SHELL_MODE_PRIVATE;
-
+ gboolean has_private_profile =
+ EPHY_EMBED_SHELL_MODE_HAS_PRIVATE_PROFILE (ephy_embed_shell_get_mode (ephy_embed_shell_get_default ()));
priv = dialog->priv = EPHY_PDM_DIALOG_GET_PRIVATE (dialog);