Mercurial > pidgin.yaz
changeset 32591:91d098444b91
Get rid of a wrapper function.
author | masca@cpw.pidgin.im |
---|---|
date | Wed, 07 Sep 2011 05:00:48 +0000 |
parents | 0e94b0815349 |
children | d50bdda3dc81 |
files | pidgin/gtkconv.c |
diffstat | 1 files changed, 3 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkconv.c Wed Sep 07 04:57:34 2011 +0000 +++ b/pidgin/gtkconv.c Wed Sep 07 05:00:48 2011 +0000 @@ -424,22 +424,15 @@ return PURPLE_CMD_RET_OK; } -static void clear_conversation_scrollback(PurpleConversation *conv) +static void clear_conversation_scrollback_cb(PurpleConversation *conv, + void *data) { PidginConversation *gtkconv = NULL; - GList *iter; gtkconv = PIDGIN_CONVERSATION(conv); - webkit_web_view_load_html_string (WEBKIT_WEB_VIEW (gtkconv->webview), "", ""); -} - - -static void clear_conversation_scrollback_cb(PurpleConversation *conv, - void *data) -{ if (PIDGIN_CONVERSATION(conv)) - clear_conversation_scrollback(conv); + webkit_web_view_load_html_string (WEBKIT_WEB_VIEW (gtkconv->webview), "", ""); } static PurpleCmdRet clear_command_cb(PurpleConversation *conv,