changeset 23661:4de9cd2a4af2

removed an unused function
author Ka-Hing Cheung <khc@hxbc.us>
date Thu, 07 Aug 2008 06:16:57 +0000
parents e3f30a73a793
children 7b2fdeb078cd
files libpurple/protocols/msn/slpmsg.c
diffstat 1 files changed, 0 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- 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)