cpw.masca.webkit: b476d9d3: Get rid of a wrapper function.

masca at cpw.pidgin.im masca at cpw.pidgin.im
Wed Sep 7 02:13:32 EDT 2011


----------------------------------------------------------------------
Revision: b476d9d3a50b2c2c895471c6dd6231384749ff92
Parent:   bb58b4ce9102bfda2512284d6aeb582d8a31315e
Author:   masca at cpw.pidgin.im
Date:     09/07/11 01:00:48
Branch:   im.pidgin.cpw.masca.webkit
URL: http://d.pidgin.im/viewmtn/revision/info/b476d9d3a50b2c2c895471c6dd6231384749ff92

Changelog: 

Get rid of a wrapper function.

Changes against parent bb58b4ce9102bfda2512284d6aeb582d8a31315e

  patched  pidgin/gtkconv.c

-------------- next part --------------
============================================================
--- pidgin/gtkconv.c	63fc353f5f55b986c74306517d2683bfbbdcce5d
+++ pidgin/gtkconv.c	fe28448b2805f79245a8eef55f8cdc0ef49373fe
@@ -424,22 +424,15 @@ debug_command_cb(PurpleConversation *con
 	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,


More information about the Commits mailing list