pidgin/gtkconv.c

branch
soc.2013.gobjectification.plugins
changeset 36842
cefc6b08c657
parent 36830
e5e8269ca14a
parent 34981
f538b2fb2525
child 36930
c1b0e75051e3
equal deleted inserted replaced
36841:53531102aa3a 36842:cefc6b08c657
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