diff src/prpl.c @ 7650:6db061321ec4

[gaim-migrate @ 8293] I completely reverted the dnd sendfile stuff. I thought most of it was pretty decent. The parts for adding the sendfile option to the conv window looked good to me. I can't comment on the dnd stuff. In oscar.c, I didn't see a need to duplicate the oscar_ask_sendfile function. I also don't think the right click->send file option should have been removed... but that's just one man's opinion. Sean, could you please talk to Chip and/or the author of this patch and work towards making it acceptable by you? committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 28 Nov 2003 19:30:45 +0000
parents 6a4d65df3f1c
children 1b8261f374ea
line wrap: on
line diff
--- a/src/prpl.c	Fri Nov 28 19:10:57 2003 +0000
+++ b/src/prpl.c	Fri Nov 28 19:30:45 2003 +0000
@@ -96,33 +96,3 @@
 
 	return NULL;
 }
-
-void gaim_prpl_ask_send_file (GaimConnection *gc, const char *name)
-{
-	GaimPluginProtocolInfo *prpl_info = NULL;
- 
-        if (gc != NULL && gc->prpl != NULL)
-                prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl);
-
-	if (prpl_info->has_send_file == NULL || prpl_info->send_file == NULL)
-		return;	
-
-	prpl_info->ask_send_file(gc, name);
-}
-
-
-gboolean gaim_prpl_has_send_file (GaimConnection *gc, const char *name)
-{
-	GaimPluginProtocolInfo *prpl_info = NULL;
- 
-        if (gc != NULL && gc->prpl != NULL)
-                prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl);
-
-	if (prpl_info->has_send_file == NULL || prpl_info->send_file == NULL)
-		return FALSE;
-	if(name)
-		return prpl_info->has_send_file(gc, name);
-
-	return 0;
-	
-}