diff src/protocols/msn/error.c @ 5436:ad445074d239

[gaim-migrate @ 5818] Another big commit. Ugh. I need a very smart regexp. Core/UI split do_error_dialog(), and soon the mail dialogs! Yay! This should work without problems at all, but standard disclaimer.. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 18 May 2003 19:59:02 +0000
parents e2e53316a21d
children b7e113a59b51
line wrap: on
line diff
--- a/src/protocols/msn/error.c	Sun May 18 19:13:21 2003 +0000
+++ b/src/protocols/msn/error.c	Sun May 18 19:59:02 2003 +0000
@@ -20,6 +20,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 #include "msn.h"
+#include "error.h"
 
 const char *
 msn_error_get_text(unsigned int type)
@@ -170,11 +171,11 @@
 }
 
 void
-msn_error_handle(unsigned int type)
+msn_error_handle(MsnSession *session, unsigned int type)
 {
 	const char *text;
 
 	text = msn_error_get_text(type);
 
-	do_error_dialog(text, NULL, GAIM_ERROR);
+	gaim_notify_error(session->account->gc, NULL, text, NULL);
 }