Mercurial > pidgin
diff src/conversation.h @ 10849:c203cd637f95
[gaim-migrate @ 12521]
sf patch #1185449, from Richard Laager
"As the comment in gtkconv.c says, saving a duplicate copy
of the entire conversation is completely bogus. Saving a
copy of a conversation is a UI thing (if the UI is only showing
the last five messages, for example, that's all the user
would expect to be saved). Therefore, there's no problem
having the UI save its own buffer. The GTK+ UI is already
doing this with the imhtml object. This patch removes the
history from GaimConversation and uses the buffer in the
imhtml object when saving a conversation.
It also adds <html>, <head>, <title>, and <body> tags to
the file to make it a bit more valid.
This patch is extremely likely to break plugins because it
changes the size of the GaimConversation struct. As such,
if this is committed, I recommend the developers recompile
non-default plugins. This broke Gaim-Encryption for me,
hence the warning."
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 19 Apr 2005 04:21:39 +0000 |
parents | 53e7884c549a |
children | 2b772e7094ef |
line wrap: on
line diff
--- a/src/conversation.h Tue Apr 19 04:06:57 2005 +0000 +++ b/src/conversation.h Tue Apr 19 04:21:39 2005 +0000 @@ -291,7 +291,6 @@ GaimLog *log; /**< This conversation's log */ GList *send_history; /**< The send history. */ - GString *history; /**< The conversation history. */ GaimUnseenState unseen; /**< The unseen tab state. */ @@ -307,7 +306,7 @@ void *ui_data; /**< UI-specific data. */ GHashTable *data; /**< Plugin-specific data. */ - + GaimConnectionFlags features; /**< The supported features */ }; @@ -666,23 +665,6 @@ GList *gaim_conversation_get_send_history(const GaimConversation *conv); /** - * Sets the specified conversation's history. - * - * @param conv The conversation. - * @param history The history. - */ -void gaim_conversation_set_history(GaimConversation *conv, GString *history); - -/** - * Returns the specified conversation's history. - * - * @param conv The conversation. - * - * @return The conversation's history. - */ -GString *gaim_conversation_get_history(const GaimConversation *conv); - -/** * Returns the specified conversation's parent window. * * @param conv The conversation.