comparison libpurple/plugins/joinpart.c @ 25861:7f552614ec8a

applied changes from a336cc1fd3a1ce815f97303b8d5ae8988f8cbd5b through fe4f5d91d1605cf93c53470e59d4bf8da6c5c840 ChangeLog for the above.
author Ethan Blanton <elb@pidgin.im>
date Tue, 28 Apr 2009 20:57:59 +0000
parents 13ca254ea7db
children 088a828fe2e2
comparison
equal deleted inserted replaced
25860:d51b8647d43c 25861:7f552614ec8a
192 PURPLE_CALLBACK(chat_buddy_leaving_cb), users); 192 PURPLE_CALLBACK(chat_buddy_leaving_cb), users);
193 purple_signal_connect(conv_handle, "received-chat-msg", plugin, 193 purple_signal_connect(conv_handle, "received-chat-msg", plugin,
194 PURPLE_CALLBACK(received_chat_msg_cb), users); 194 PURPLE_CALLBACK(received_chat_msg_cb), users);
195 195
196 /* Cleanup every 5 minutes */ 196 /* Cleanup every 5 minutes */
197 id = purple_timeout_add(1000 * 60 * 5, (GSourceFunc)clean_users_hash, users); 197 id = purple_timeout_add_seconds(60 * 5, (GSourceFunc)clean_users_hash, users);
198 198
199 data = g_new(gpointer, 2); 199 data = g_new(gpointer, 2);
200 data[0] = users; 200 data[0] = users;
201 data[1] = GUINT_TO_POINTER(id); 201 data[1] = GUINT_TO_POINTER(id);
202 plugin->extra = data; 202 plugin->extra = data;