# HG changeset patch # User Sadrul Habib Chowdhury # Date 1188017457 0 # Node ID 3d42c005fc17d0e9247904bf8603db4a5fd7c019 # Parent deb9471d714265a4628ac9fe56e5fbf464124d2f Make sure a conversation is a pidgin-conversation to avoid a crash. diff -r deb9471d7142 -r 3d42c005fc17 pidgin/gtksound.c --- 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;