diff libpurple/protocols/msn/session.c @ 30712:b3b7b537284f

msn: Merge dialog and error to get an unified msn_error api.
author masca@cpw.pidgin.im
date Fri, 12 Mar 2010 02:26:57 +0000
parents b4dc2d27f24e
children b5793b417705
line wrap: on
line diff
--- a/libpurple/protocols/msn/session.c	Thu Mar 11 17:59:53 2010 +0000
+++ b/libpurple/protocols/msn/session.c	Fri Mar 12 02:26:57 2010 +0000
@@ -21,14 +21,13 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
+#include "error.h"
 #include "msn.h"
 #include "msnutils.h"
 #include "session.h"
 #include "notification.h"
 #include "oim.h"
 
-#include "dialog.h"
-
 MsnSession *
 msn_session_new(PurpleAccount *account)
 {
@@ -301,7 +300,7 @@
 			if (!found) {
 				if ((remote_user == NULL) || !(remote_user->list_op & MSN_LIST_FL_OP)) {
 					/* The user is not on the server list */
-					msn_show_sync_issue(session, buddy_name, group_name);
+					msn_error_sync_issue(session, buddy_name, group_name);
 				} else {
 					/* The user is not in that group on the server list */
 					to_remove = g_list_prepend(to_remove, buddy);