summaryrefslogtreecommitdiff
path: root/gtk/gtkpasswordentry.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-09-08 23:40:44 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2020-09-08 23:50:12 +0100
commitae97284409d40317c034f683b7b19050a388c2a6 (patch)
tree529383788a8704c5688d5935aad22c1fd4dba803 /gtk/gtkpasswordentry.c
parent7cda32d49ec6988f0a54d7df82e1f0b91715f6bb (diff)
downloadgtk+-ae97284409d40317c034f683b7b19050a388c2a6.tar.gz
docs: Add a note on GtkPasswordEntry's secure storage
Diffstat (limited to 'gtk/gtkpasswordentry.c')
-rw-r--r--gtk/gtkpasswordentry.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtkpasswordentry.c b/gtk/gtkpasswordentry.c
index dfef768135..a9fbd6f30b 100644
--- a/gtk/gtkpasswordentry.c
+++ b/gtk/gtkpasswordentry.c
@@ -42,7 +42,10 @@
*
* #GtkPasswordEntry is entry that has been tailored for entering secrets.
* It does not show its contents in clear text, does not allow to copy it
- * to the clipboard, and it shows a warning when Caps Lock is engaged.
+ * to the clipboard, and it shows a warning when Caps Lock is engaged. If
+ * the underlying platform allows it, GtkPasswordEntry will also place the
+ * text in a non-pageable memory area, to avoid it being written out to
+ * disk by the operating system.
*
* Optionally, it can offer a way to reveal the contents in clear text.
*