pidgin: 4b992650: removed an unused function

khc at pidgin.im khc at pidgin.im
Thu Aug 7 03:10:49 EDT 2008


-----------------------------------------------------------------
Revision: 4b9926507f55072d828a28b682b7f4a2c7cbe9d6
Ancestor: b1920735333208b8052ae6b993027233446668c9
Author: khc at pidgin.im
Date: 2008-08-07T06:16:57
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/4b9926507f55072d828a28b682b7f4a2c7cbe9d6

Modified files:
        libpurple/protocols/msn/slpmsg.c

ChangeLog: 

removed an unused function


-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slpmsg.c	ce95fd395b071e62edff3c220a9cc5bcd53920bf
+++ libpurple/protocols/msn/slpmsg.c	c6df8f22882279a605c32eeb36908b6976647808
@@ -132,22 +132,6 @@ msn_slpmsg_set_image(MsnSlpMessage *slpm
 	slpmsg->size = purple_imgstore_get_size(img);
 }
 
-void
-msn_slpmsg_open_file(MsnSlpMessage *slpmsg, const char *file_name)
-{
-	struct stat st;
-
-	/* We can only have one data source at a time. */
-	g_return_if_fail(slpmsg->buffer == NULL);
-	g_return_if_fail(slpmsg->img == NULL);
-	g_return_if_fail(slpmsg->fp == NULL);
-
-	slpmsg->fp = g_fopen(file_name, "rb");
-
-	if (g_stat(file_name, &st) == 0)
-		slpmsg->size = st.st_size;
-}
-
 #ifdef MSN_DEBUG_SLP
 void
 msn_slpmsg_show(MsnMessage *msg)


More information about the Commits mailing list