| 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 |