cpw.attention_ui: d5016cc8: NULL-check for conversation when updatin...
malu at pidgin.im
malu at pidgin.im
Wed Oct 29 17:40:48 EDT 2008
-----------------------------------------------------------------
Revision: d5016cc8ad079a04c7748cfdc77362d93fb2b0ca
Ancestor: 154daed80ee3bd269701738f9c1c80be73f58bae
Author: malu at pidgin.im
Date: 2008-10-29T21:35:39
Branch: im.pidgin.cpw.attention_ui
URL: http://d.pidgin.im/viewmtn/revision/info/d5016cc8ad079a04c7748cfdc77362d93fb2b0ca
Modified files:
pidgin/gtkimhtmltoolbar.c
ChangeLog:
NULL-check for conversation when updating attention button
-------------- next part --------------
============================================================
--- pidgin/gtkimhtmltoolbar.c d13da2b36b3f9089d9ceea96d2126f2cbf48a0fe
+++ pidgin/gtkimhtmltoolbar.c 60f1eaf4fa3ebb8e3a41372a997c0aaa3607b25e
@@ -1571,7 +1571,7 @@ void gtk_imhtmltoolbar_switch_active_con
/* gray out attention button on protocols that don't support it
for the time being it is always disabled for chats */
gtk_widget_set_sensitive(toolbar->attention,
- conv && purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_IM &&
- PURPLE_PLUGIN_PROTOCOL_INFO(prpl)->send_attention != NULL);
+ conv && prpl && purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_IM &&
+ PURPLE_PLUGIN_PROTOCOL_INFO(prpl)->send_attention != NULL);
}
More information about the Commits
mailing list