Mercurial > pidgin
comparison plugins/gestures/gestures.c @ 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 | 9fdbfe832fac |
children | de9af04c50ff |
comparison
equal
deleted
inserted
replaced
10823:c1bb12625b3f | 10824:8d52201620d0 |
---|---|
102 if (gaim_conv_window_get_conversation_count(old_win) <= 1) | 102 if (gaim_conv_window_get_conversation_count(old_win) <= 1) |
103 return; | 103 return; |
104 | 104 |
105 new_win = gaim_conv_window_new(); | 105 new_win = gaim_conv_window_new(); |
106 | 106 |
107 gaim_conv_window_remove_conversation(old_win, gaim_conversation_get_index(conv)); | 107 gaim_conv_window_remove_conversation(old_win, conv); |
108 gaim_conv_window_add_conversation(new_win, conv); | 108 gaim_conv_window_add_conversation(new_win, conv); |
109 | 109 |
110 gaim_conv_window_show(new_win); | 110 gaim_conv_window_show(new_win); |
111 } | 111 } |
112 | 112 |