summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge VillaseƱor <masca@cpw.pidgin.im>2011-09-07 05:00:48 +0000
committerJorge VillaseƱor <masca@cpw.pidgin.im>2011-09-07 05:00:48 +0000
commit4851b28f9d9f357fe5b3f8d76be827d972650718 (patch)
tree3e90c0ed0e4b2766f416b41227b9433c4313dacb
parent4f2974a66aa26781e46523de86d95a8bdd7c1700 (diff)
downloadpidgin-cpw.masca.webkit.tar.gz
Get rid of a wrapper function.cpw.masca.webkit
-rw-r--r--pidgin/gtkconv.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/pidgin/gtkconv.c b/pidgin/gtkconv.c
index 7840a67dbc..c64e8df74c 100644
--- a/pidgin/gtkconv.c
+++ b/pidgin/gtkconv.c
@@ -424,22 +424,15 @@ debug_command_cb(PurpleConversation *conv,
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,