diff libpurple/ft.c @ 21086:8c9aad9479c0

Removed request stuff - now on pidgin-request-ui-hint
author Gabriel Schulhof <nix@go-nix.ca>
date Wed, 10 Oct 2007 22:57:51 +0000
parents 285bb637a2b7
children cab348e39751
line wrap: on
line diff
--- a/libpurple/ft.c	Tue Oct 09 18:01:51 2007 +0000
+++ b/libpurple/ft.c	Wed Oct 10 22:57:51 2007 +0000
@@ -309,12 +309,12 @@
 static int
 purple_xfer_choose_file(PurpleXfer *xfer)
 {
-	purple_request_file_with_hint(xfer, NULL, purple_xfer_get_filename(xfer),
+	purple_request_file(xfer, NULL, purple_xfer_get_filename(xfer),
 					  (purple_xfer_get_type(xfer) == PURPLE_XFER_RECEIVE),
 					  G_CALLBACK(purple_xfer_choose_file_ok_cb),
 					  G_CALLBACK(purple_xfer_choose_file_cancel_cb),
 					  purple_xfer_get_account(xfer), xfer->who, NULL,
-					  "xfer", xfer);
+					  xfer);
 
 	return 0;
 }
@@ -359,10 +359,10 @@
 			serv_got_im(purple_account_get_connection(xfer->account),
 								 xfer->who, xfer->message, 0, time(NULL));
 
-		purple_request_accept_cancel_with_hint(xfer, NULL, buf, NULL,
+		purple_request_accept_cancel(xfer, NULL, buf, NULL,
 								  PURPLE_DEFAULT_ACTION_NONE,
 								  xfer->account, xfer->who, NULL,
-								  "xfer", xfer,
+								  xfer,
 								  G_CALLBACK(purple_xfer_choose_file),
 								  G_CALLBACK(cancel_recv_cb));
 
@@ -402,10 +402,10 @@
 					 "Remote host: %s\nRemote port: %d"),
 					   purple_xfer_get_remote_ip(xfer),
 					   purple_xfer_get_remote_port(xfer));
-	purple_request_accept_cancel_with_hint(xfer, NULL, buf, buf2,
+	purple_request_accept_cancel(xfer, NULL, buf, buf2,
 							   PURPLE_DEFAULT_ACTION_NONE,
 							   xfer->account, xfer->who, NULL,
-							   "xfer", xfer,
+							   xfer,
 							   G_CALLBACK(ask_accept_ok),
 							   G_CALLBACK(ask_accept_cancel));
 	g_free(buf);