Mercurial > pidgin
changeset 19414:3d42c005fc17
Make sure a conversation is a pidgin-conversation to avoid a crash.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 25 Aug 2007 04:50:57 +0000 |
parents | deb9471d7142 |
children | 2128daf52d31 |
files | pidgin/gtksound.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtksound.c Sat Aug 25 03:59:05 2007 +0000 +++ b/pidgin/gtksound.c Sat Aug 25 04:50:57 2007 +0000 @@ -114,7 +114,7 @@ play_conv_event(PurpleConversation *conv, PurpleSoundEventID event) { /* If we should not play the sound for some reason, then exit early */ - if (conv != NULL) + if (conv != NULL && PIDGIN_IS_PIDGIN_CONVERSATION(conv)) { PidginConversation *gtkconv; PidginWindow *win;