diff src/request.c @ 6035:8c44020a958e

[gaim-migrate @ 6485] gaim_request_input() now takes a masked bool, which, if enabled, masks the text on the entry field so that it cannot be seen. Good for password input requests, and what do you know, that's why this is written! committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 05 Jul 2003 21:54:19 +0000
parents 327bc2f78340
children de67cb0dd09d
line wrap: on
line diff
--- a/src/request.c	Sat Jul 05 20:52:43 2003 +0000
+++ b/src/request.c	Sat Jul 05 21:54:19 2003 +0000
@@ -581,7 +581,7 @@
 void *
 gaim_request_input(void *handle, const char *title, const char *primary,
 				   const char *secondary, const char *default_value,
-				   gboolean multiline,
+				   gboolean multiline, gboolean masked,
 				   const char *ok_text, GCallback ok_cb,
 				   const char *cancel_text, GCallback cancel_cb,
 				   void *user_data)
@@ -601,7 +601,8 @@
 		info->type      = GAIM_REQUEST_INPUT;
 		info->handle    = handle;
 		info->ui_handle = ops->request_input(title, primary, secondary,
-											 default_value, multiline,
+											 default_value,
+											 multiline, masked,
 											 ok_text, ok_cb,
 											 cancel_text, cancel_cb,
 											 user_data);