# HG changeset patch # User masca@cpw.pidgin.im # Date 1275033938 0 # Node ID a99b6dcdb60d01ce33a70c22a97457561e6f1baa # Parent 417899347f8a009a3293422267ec42e4782aafc3 Remove unnecesary includes from msn.h. Replace msn.h with the needed includes, most of the cases only debug.h was needed. diff -r 417899347f8a -r a99b6dcdb60d libpurple/protocols/msn/cmdproc.c --- a/libpurple/protocols/msn/cmdproc.c Thu May 27 22:14:53 2010 +0000 +++ b/libpurple/protocols/msn/cmdproc.c Fri May 28 08:05:38 2010 +0000 @@ -21,7 +21,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#include "msn.h" + +#include "debug.h" + #include "cmdproc.h" MsnCmdProc * diff -r 417899347f8a -r a99b6dcdb60d libpurple/protocols/msn/command.c --- a/libpurple/protocols/msn/command.c Thu May 27 22:14:53 2010 +0000 +++ b/libpurple/protocols/msn/command.c Fri May 28 08:05:38 2010 +0000 @@ -21,7 +21,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#include "msn.h" #include "command.h" static gboolean diff -r 417899347f8a -r a99b6dcdb60d libpurple/protocols/msn/contact.c --- a/libpurple/protocols/msn/contact.c Thu May 27 22:14:53 2010 +0000 +++ b/libpurple/protocols/msn/contact.c Fri May 28 08:05:38 2010 +0000 @@ -24,7 +24,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "msn.h" +#include "debug.h" + #include "contact.h" #include "xmlnode.h" #include "group.h" diff -r 417899347f8a -r a99b6dcdb60d libpurple/protocols/msn/directconn.c --- a/libpurple/protocols/msn/directconn.c Thu May 27 22:14:53 2010 +0000 +++ b/libpurple/protocols/msn/directconn.c Fri May 28 08:05:38 2010 +0000 @@ -21,6 +21,10 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ + +#include "cipher.h" +#include "debug.h" + #include "msn.h" #include "directconn.h" diff -r 417899347f8a -r a99b6dcdb60d libpurple/protocols/msn/error.c --- a/libpurple/protocols/msn/error.c Thu May 27 22:14:53 2010 +0000 +++ b/libpurple/protocols/msn/error.c Fri May 28 08:05:38 2010 +0000 @@ -21,7 +21,11 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#include "msn.h" + +#include "debug.h" +/* Masca: can we get rid of the sync issue dialog? */ +#include "request.h" + #include "error.h" typedef struct diff -r 417899347f8a -r a99b6dcdb60d libpurple/protocols/msn/msg.c --- a/libpurple/protocols/msn/msg.c Thu May 27 22:14:53 2010 +0000 +++ b/libpurple/protocols/msn/msg.c Fri May 28 08:05:38 2010 +0000 @@ -21,6 +21,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ + +#include "debug.h" + #include "msn.h" #include "msg.h" #include "msnutils.h" diff -r 417899347f8a -r a99b6dcdb60d libpurple/protocols/msn/msn.c --- a/libpurple/protocols/msn/msn.c Thu May 27 22:14:53 2010 +0000 +++ b/libpurple/protocols/msn/msn.c Fri May 28 08:05:38 2010 +0000 @@ -23,7 +23,9 @@ */ #define PHOTO_SUPPORT 1 -#include "msn.h" +#include "debug.h" +#include "request.h" + #include "accountopt.h" #include "contact.h" #include "msg.h" diff -r 417899347f8a -r a99b6dcdb60d libpurple/protocols/msn/msn.h --- a/libpurple/protocols/msn/msn.h Thu May 27 22:14:53 2010 +0000 +++ b/libpurple/protocols/msn/msn.h Fri May 28 08:05:38 2010 +0000 @@ -83,18 +83,6 @@ #include "internal.h" -#include "account.h" -#include "accountopt.h" -#include "blist.h" -#include "connection.h" -#include "conversation.h" -#include "debug.h" -#include "cipher.h" -#include "notify.h" -#include "privacy.h" -#include "proxy.h" -#include "prpl.h" -#include "request.h" #include "servconn.h" #include "sslconn.h" #include "util.h" diff -r 417899347f8a -r a99b6dcdb60d libpurple/protocols/msn/nexus.c --- a/libpurple/protocols/msn/nexus.c Thu May 27 22:14:53 2010 +0000 +++ b/libpurple/protocols/msn/nexus.c Fri May 28 08:05:38 2010 +0000 @@ -21,7 +21,10 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#include "msn.h" + +#include "cipher.h" +#include "debug.h" + #include "soap.h" #include "nexus.h" #include "notification.h" diff -r 417899347f8a -r a99b6dcdb60d libpurple/protocols/msn/notification.c --- a/libpurple/protocols/msn/notification.c Thu May 27 22:14:53 2010 +0000 +++ b/libpurple/protocols/msn/notification.c Fri May 28 08:05:38 2010 +0000 @@ -21,7 +21,10 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#include "msn.h" + +#include "debug.h" +#include "cipher.h" + #include "core.h" #include "notification.h" #include "contact.h" diff -r 417899347f8a -r a99b6dcdb60d libpurple/protocols/msn/oim.c --- a/libpurple/protocols/msn/oim.c Thu May 27 22:14:53 2010 +0000 +++ b/libpurple/protocols/msn/oim.c Fri May 28 08:05:38 2010 +0000 @@ -23,7 +23,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "msn.h" + +#include "debug.h" + #include "soap.h" #include "oim.h" #include "msnutils.h" diff -r 417899347f8a -r a99b6dcdb60d libpurple/protocols/msn/servconn.c --- a/libpurple/protocols/msn/servconn.c Thu May 27 22:14:53 2010 +0000 +++ b/libpurple/protocols/msn/servconn.c Fri May 28 08:05:38 2010 +0000 @@ -21,7 +21,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#include "msn.h" +#include "debug.h" + #include "servconn.h" #include "error.h" diff -r 417899347f8a -r a99b6dcdb60d libpurple/protocols/msn/session.c --- a/libpurple/protocols/msn/session.c Thu May 27 22:14:53 2010 +0000 +++ b/libpurple/protocols/msn/session.c Fri May 28 08:05:38 2010 +0000 @@ -21,8 +21,10 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ + +#include "debug.h" + #include "error.h" -#include "msn.h" #include "msnutils.h" #include "session.h" #include "notification.h" diff -r 417899347f8a -r a99b6dcdb60d libpurple/protocols/msn/slp.c --- a/libpurple/protocols/msn/slp.c Thu May 27 22:14:53 2010 +0000 +++ b/libpurple/protocols/msn/slp.c Fri May 28 08:05:38 2010 +0000 @@ -21,7 +21,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#include "msn.h" + +#include "debug.h" + #include "slp.h" #include "slpcall.h" #include "slpmsg.h" diff -r 417899347f8a -r a99b6dcdb60d libpurple/protocols/msn/slpcall.c --- a/libpurple/protocols/msn/slpcall.c Thu May 27 22:14:53 2010 +0000 +++ b/libpurple/protocols/msn/slpcall.c Fri May 28 08:05:38 2010 +0000 @@ -21,7 +21,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#include "msn.h" + +#include "debug.h" + #include "msnutils.h" #include "slpcall.h" diff -r 417899347f8a -r a99b6dcdb60d libpurple/protocols/msn/slplink.c --- a/libpurple/protocols/msn/slplink.c Thu May 27 22:14:53 2010 +0000 +++ b/libpurple/protocols/msn/slplink.c Fri May 28 08:05:38 2010 +0000 @@ -21,6 +21,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ + +#include "debug.h" + #include "msn.h" #include "slplink.h" diff -r 417899347f8a -r a99b6dcdb60d libpurple/protocols/msn/slpmsg.c --- a/libpurple/protocols/msn/slpmsg.c Thu May 27 22:14:53 2010 +0000 +++ b/libpurple/protocols/msn/slpmsg.c Fri May 28 08:05:38 2010 +0000 @@ -21,7 +21,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#include "msn.h" + +#include "debug.h" + #include "slpmsg.h" #include "slplink.h" diff -r 417899347f8a -r a99b6dcdb60d libpurple/protocols/msn/state.c --- a/libpurple/protocols/msn/state.c Thu May 27 22:14:53 2010 +0000 +++ b/libpurple/protocols/msn/state.c Fri May 28 08:05:38 2010 +0000 @@ -23,10 +23,10 @@ */ #include "internal.h" +#include "debug.h" #include "core.h" -#include "msn.h" #include "notification.h" #include "state.h" diff -r 417899347f8a -r a99b6dcdb60d libpurple/protocols/msn/switchboard.c --- a/libpurple/protocols/msn/switchboard.c Thu May 27 22:14:53 2010 +0000 +++ b/libpurple/protocols/msn/switchboard.c Fri May 28 08:05:38 2010 +0000 @@ -21,6 +21,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ + +#include "debug.h" + #include "msn.h" #include "prefs.h" #include "switchboard.h" diff -r 417899347f8a -r a99b6dcdb60d libpurple/protocols/msn/transaction.c --- a/libpurple/protocols/msn/transaction.c Thu May 27 22:14:53 2010 +0000 +++ b/libpurple/protocols/msn/transaction.c Fri May 28 08:05:38 2010 +0000 @@ -21,6 +21,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ + +#include "debug.h" + #include "msn.h" #include "transaction.h" diff -r 417899347f8a -r a99b6dcdb60d libpurple/protocols/msn/user.c --- a/libpurple/protocols/msn/user.c Thu May 27 22:14:53 2010 +0000 +++ b/libpurple/protocols/msn/user.c Fri May 28 08:05:38 2010 +0000 @@ -21,7 +21,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#include "msn.h" + +#include "debug.h" + #include "user.h" #include "slp.h" diff -r 417899347f8a -r a99b6dcdb60d libpurple/protocols/msn/userlist.c --- a/libpurple/protocols/msn/userlist.c Thu May 27 22:14:53 2010 +0000 +++ b/libpurple/protocols/msn/userlist.c Fri May 28 08:05:38 2010 +0000 @@ -21,6 +21,10 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ + +#include "debug.h" +#include "request.h" + #include "msn.h" #include "userlist.h"