| 112 */ |
112 */ |
| 113 static void |
113 static void |
| 114 play_conv_event(PurpleConversation *conv, PurpleSoundEventID event) |
114 play_conv_event(PurpleConversation *conv, PurpleSoundEventID event) |
| 115 { |
115 { |
| 116 /* If we should not play the sound for some reason, then exit early */ |
116 /* If we should not play the sound for some reason, then exit early */ |
| 117 if (conv != NULL) |
117 if (conv != NULL && PIDGIN_IS_PIDGIN_CONVERSATION(conv)) |
| 118 { |
118 { |
| 119 PidginConversation *gtkconv; |
119 PidginConversation *gtkconv; |
| 120 PidginWindow *win; |
120 PidginWindow *win; |
| 121 gboolean has_focus; |
121 gboolean has_focus; |
| 122 |
122 |