pidgin/gtkconv.c

branch
soc.2013.gobjectification
changeset 34981
f538b2fb2525
parent 34973
389cabbfe56a
child 35047
cf8ca70094ff
child 36842
cefc6b08c657
equal deleted inserted replaced
34980:4284b3621d8e 34981:f538b2fb2525
3823 } 3823 }
3824 3824
3825 static void 3825 static void
3826 update_typing_icon(PidginConversation *gtkconv) 3826 update_typing_icon(PidginConversation *gtkconv)
3827 { 3827 {
3828 PurpleIMConversation *im = PURPLE_IM_CONVERSATION(gtkconv->active_conv); 3828 PurpleIMConversation *im;
3829 char *message = NULL; 3829 char *message = NULL;
3830 3830
3831 if (im == NULL) 3831 if (!PURPLE_IS_IM_CONVERSATION(gtkconv->active_conv))
3832 return; 3832 return;
3833
3834 im = PURPLE_IM_CONVERSATION(gtkconv->active_conv);
3833 3835
3834 if (purple_im_conversation_get_typing_state(im) == PURPLE_IM_NOT_TYPING) { 3836 if (purple_im_conversation_get_typing_state(im) == PURPLE_IM_NOT_TYPING) {
3835 #ifdef RESERVE_LINE 3837 #ifdef RESERVE_LINE
3836 update_typing_message(gtkconv, NULL); 3838 update_typing_message(gtkconv, NULL);
3837 #else 3839 #else

mercurial