comparison finch/gntmedia.c @ 25643:befeece4dd48

Change a few things: * call purple_media_wait to notify that we are waiting on a response from the remote end * fix the /call command in finch * keep track of the PidginMedia for a PidginConversation * fix the two-widget bug in pidgin. We probably should have a way to get the PidginMedia from a PurpleMedia. Should we use _set/_get_ui_data for this?
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 22 Mar 2008 09:17:34 +0000
parents 128f6cb57829
children 52a753b67ebb
comparison
equal deleted inserted replaced
25642:10a76e4b0dc0 25643:befeece4dd48
399 PURPLE_MEDIA_RECV_AUDIO & PURPLE_MEDIA_SEND_AUDIO); 399 PURPLE_MEDIA_RECV_AUDIO & PURPLE_MEDIA_SEND_AUDIO);
400 400
401 if (!media) 401 if (!media)
402 return PURPLE_CMD_STATUS_FAILED; 402 return PURPLE_CMD_STATUS_FAILED;
403 403
404 purple_media_accept(media); 404 purple_media_wait(media);
405 return PURPLE_CMD_STATUS_OK; 405 return PURPLE_CMD_STATUS_OK;
406 } 406 }
407 407
408 void finch_media_manager_init(void) 408 void finch_media_manager_init(void)
409 { 409 {