comparison src/conversation.c @ 11602:24274a79d6b0

[gaim-migrate @ 13873] This _seems_ to be taking care of my infinite loop, thanks sadrul for suggesting it :) committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Mon, 03 Oct 2005 21:49:02 +0000
parents 7d7de96eef1e
children 243dd81341a7
comparison
equal deleted inserted replaced
11601:86501c7bce46 11602:24274a79d6b0
339 339
340 gaim_conversation_set_logging(conv, 340 gaim_conversation_set_logging(conv,
341 gaim_prefs_get_bool("/core/logging/log_chats")); 341 gaim_prefs_get_bool("/core/logging/log_chats"));
342 } 342 }
343 343
344 conversations = g_list_append(conversations, conv);
345
346 /* Auto-set the title. */
347 gaim_conversation_autoset_title(conv);
348
349 /* Don't move this.. it needs to be one of the last things done otherwise
350 * it causes mysterious crashes on my system.
351 * -- Gary
352 */
344 ops = conv->ui_ops = default_ops; 353 ops = conv->ui_ops = default_ops;
345 if (ops != NULL && ops->create_conversation != NULL) 354 if (ops != NULL && ops->create_conversation != NULL)
346 ops->create_conversation(conv); 355 ops->create_conversation(conv);
347
348 conversations = g_list_append(conversations, conv);
349
350 /* Auto-set the title. */
351 gaim_conversation_autoset_title(conv);
352 356
353 gaim_signal_emit(gaim_conversations_get_handle(), 357 gaim_signal_emit(gaim_conversations_get_handle(),
354 "conversation-created", conv); 358 "conversation-created", conv);
355 359
356 return conv; 360 return conv;