comparison src/request.c @ 8697:725413cc9fb9

[gaim-migrate @ 9450] WYSIWYG info editing from Jon Oberheide We need separate gc flags for conversation HTML and user info HTML, or something. It seems like there should be a better way to do that... Hint hint wink wink nudge nudge I kick your foot, under the table You kick me back, I can't say I'm able To stand for you, or fall for you Ever again I wish for, a perfect setting Wishing that I'm letting you take me Where you want me, all over again committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 18 Apr 2004 06:22:42 +0000
parents f4a878d48254
children 1bbe99a07e36
comparison
equal deleted inserted replaced
8696:aebfa2b6af6b 8697:725413cc9fb9
1098 /* -- */ 1098 /* -- */
1099 1099
1100 void * 1100 void *
1101 gaim_request_input(void *handle, const char *title, const char *primary, 1101 gaim_request_input(void *handle, const char *title, const char *primary,
1102 const char *secondary, const char *default_value, 1102 const char *secondary, const char *default_value,
1103 gboolean multiline, gboolean masked, 1103 gboolean multiline, gboolean masked, gchar *hint,
1104 const char *ok_text, GCallback ok_cb, 1104 const char *ok_text, GCallback ok_cb,
1105 const char *cancel_text, GCallback cancel_cb, 1105 const char *cancel_text, GCallback cancel_cb,
1106 void *user_data) 1106 void *user_data)
1107 { 1107 {
1108 GaimRequestUiOps *ops; 1108 GaimRequestUiOps *ops;
1118 info = g_new0(GaimRequestInfo, 1); 1118 info = g_new0(GaimRequestInfo, 1);
1119 info->type = GAIM_REQUEST_INPUT; 1119 info->type = GAIM_REQUEST_INPUT;
1120 info->handle = handle; 1120 info->handle = handle;
1121 info->ui_handle = ops->request_input(title, primary, secondary, 1121 info->ui_handle = ops->request_input(title, primary, secondary,
1122 default_value, 1122 default_value,
1123 multiline, masked, 1123 multiline, masked, hint,
1124 ok_text, ok_cb, 1124 ok_text, ok_cb,
1125 cancel_text, cancel_cb, 1125 cancel_text, cancel_cb,
1126 user_data); 1126 user_data);
1127 1127
1128 handles = g_list_append(handles, info); 1128 handles = g_list_append(handles, info);