Mercurial > pidgin
diff libpurple/media.c @ 26326:8c21dbe149d8
Remove rejected and hangup states from state-changed.
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Sat, 21 Mar 2009 02:25:09 +0000 |
parents | 8b4394e84633 |
children | db9d2a760329 |
line wrap: on
line diff
--- a/libpurple/media.c Sat Mar 21 01:37:50 2009 +0000 +++ b/libpurple/media.c Sat Mar 21 02:25:09 2009 +0000 @@ -1406,9 +1406,6 @@ purple_media_hangup(PurpleMedia *media) { g_return_if_fail(PURPLE_IS_MEDIA(media)); - g_signal_emit(media, purple_media_signals[STATE_CHANGED], - 0, PURPLE_MEDIA_STATE_CHANGED_HANGUP, - NULL, NULL); g_signal_emit(media, purple_media_signals[STREAM_INFO], 0, PURPLE_MEDIA_INFO_HANGUP, NULL, NULL); @@ -1419,9 +1416,6 @@ purple_media_reject(PurpleMedia *media) { g_return_if_fail(PURPLE_IS_MEDIA(media)); - g_signal_emit(media, purple_media_signals[STATE_CHANGED], - 0, PURPLE_MEDIA_STATE_CHANGED_REJECTED, - NULL, NULL); g_signal_emit(media, purple_media_signals[STREAM_INFO], 0, PURPLE_MEDIA_INFO_REJECT, NULL, NULL);