comparison src/conversation.c @ 8635:4aee5a47937d

[gaim-migrate @ 9387] this is some stuff. i think there's logsize caching or something. it hasn't crashed on me yet, and we can rip it out if it sucks. enjoy! committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 12 Apr 2004 01:11:45 +0000
parents 3d0178c4f390
children 230fee6f1e3e
comparison
equal deleted inserted replaced
8634:bcb09cc97b63 8635:4aee5a47937d
820 conv->title = g_strdup(name); 820 conv->title = g_strdup(name);
821 conv->send_history = g_list_append(NULL, NULL); 821 conv->send_history = g_list_append(NULL, NULL);
822 conv->history = g_string_new(""); 822 conv->history = g_string_new("");
823 conv->data = g_hash_table_new_full(g_str_hash, g_str_equal, 823 conv->data = g_hash_table_new_full(g_str_hash, g_str_equal,
824 g_free, NULL); 824 g_free, NULL);
825 conv->log = gaim_log_new(type == GAIM_CONV_IM ? GAIM_LOG_IM : 825 conv->log = gaim_log_new(type == GAIM_CONV_CHAT ? GAIM_LOG_CHAT :
826 type == GAIM_CONV_CHAT ? GAIM_LOG_CHAT : 826 GAIM_LOG_IM, conv->name, account,
827 GAIM_LOG_IM, name, account, time(NULL)); 827 time(NULL));
828 828
829 829
830 if (type == GAIM_CONV_IM) 830 if (type == GAIM_CONV_IM)
831 { 831 {
832 conv->u.im = g_new0(GaimConvIm, 1); 832 conv->u.im = g_new0(GaimConvIm, 1);