comparison src/conversation.h @ 10824:8d52201620d0

[gaim-migrate @ 12488] This changes gaim_conv_window_remove_conversation to take a GaimConversion pointer to remore instead of an index. Every place just called a function to get the index before calling it anyway. This may or may not help the contact aware convo bugs, I didn't test it yet, but I believe it to be a step in the right direction. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Fri, 15 Apr 2005 00:28:54 +0000
parents 4151d16f6348
children 53e7884c549a
comparison
equal deleted inserted replaced
10823:c1bb12625b3f 10824:8d52201620d0
400 */ 400 */
401 int gaim_conv_window_add_conversation(GaimConvWindow *win, 401 int gaim_conv_window_add_conversation(GaimConvWindow *win,
402 GaimConversation *conv); 402 GaimConversation *conv);
403 403
404 /** 404 /**
405 * Removes the conversation at the specified index from the window. 405 * Removes the conversation from the window.
406 *
407 * If there is no conversation at this index, this will do nothing.
408 * 406 *
409 * @param win The window. 407 * @param win The window.
410 * @param index The index of the conversation. 408 * @param conv The conversation.
411 * 409 *
412 * @return The conversation removed. 410 * @return The conversation removed.
413 */ 411 */
414 GaimConversation *gaim_conv_window_remove_conversation(GaimConvWindow *win, 412 GaimConversation *gaim_conv_window_remove_conversation(GaimConvWindow *win,
415 unsigned int index); 413 GaimConversation *conv);
416 414
417 /** 415 /**
418 * Moves the conversation at the specified index in a window to a new index. 416 * Moves the conversation at the specified index in a window to a new index.
419 * 417 *
420 * @param win The window. 418 * @param win The window.