Mercurial > pidgin
diff src/protocols/jabber/chat.h @ 8396:387ba791d5f9
[gaim-migrate @ 9125]
fix a crash in jabber chats when you leave the chat before closing the
configuration dialog, and plug a memleak. Thanks deryni for pointing the
crash out
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Thu, 04 Mar 2004 17:07:56 +0000 |
parents | e283be34aadf |
children | 0383e55cd658 |
line wrap: on
line diff
--- a/src/protocols/jabber/chat.h Thu Mar 04 05:47:41 2004 +0000 +++ b/src/protocols/jabber/chat.h Thu Mar 04 17:07:56 2004 +0000 @@ -25,6 +25,7 @@ #include "internal.h" #include "connection.h" #include "conversation.h" +#include "request.h" #include "roomlist.h" #include "jabber.h" @@ -38,6 +39,8 @@ GaimConversation *conv; gboolean muc; gboolean xhtml; + GaimRequestType config_dialog_type; + void *config_dialog_handle; } JabberChat; GList *jabber_chat_info(GaimConnection *gc); @@ -46,6 +49,7 @@ const char *server); JabberChat *jabber_chat_find_by_id(JabberStream *js, int id); void jabber_chat_destroy(JabberChat *chat); +void jabber_chat_free(JabberChat *chat); gboolean jabber_chat_find_buddy(GaimConversation *conv, const char *name); void jabber_chat_invite(GaimConnection *gc, int id, const char *message, const char *name);