# HG changeset patch
# User Ka-Hing Cheung <khc@hxbc.us>
# Date 1218089817 0
# Node ID 4de9cd2a4af26f091754959b88d2f146d9879c5d
# Parent  e3f30a73a7939839fa9faff0054501003e78b06a
removed an unused function

diff -r e3f30a73a793 -r 4de9cd2a4af2 libpurple/protocols/msn/slpmsg.c
--- a/libpurple/protocols/msn/slpmsg.c	Thu Aug 07 04:26:02 2008 +0000
+++ b/libpurple/protocols/msn/slpmsg.c	Thu Aug 07 06:16:57 2008 +0000
@@ -132,22 +132,6 @@
 	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)