From: Mark D. <the...@us...> - 2003-09-17 01:50:19
|
Update of /cvsroot/gaim/gaim/src/protocols/toc In directory sc8-pr-cvs1:/tmp/cvs-serv28425/src/protocols/toc Modified Files: toc.c Log Message: I #if 0'ed all gtk code in src/protocols/toc/toc.c I don't know if any of it worked or not... probably not. IMO, if toc wants to do rvous, it can go through the core like everyone else. Now I'm going to go watch people make brownies. Index: toc.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/toc/toc.c,v retrieving revision 1.116 retrieving revision 1.117 diff -u -d -p -r1.116 -r1.117 --- toc.c 16 Sep 2003 02:20:49 -0000 1.116 +++ toc.c 17 Sep 2003 01:50:15 -0000 1.117 @@ -33,10 +33,7 @@ #include "html.h" /* XXX */ -#include "gtkinternal.h" #include "gaim.h" -#include "ui.h" -#include "gtkutils.h" static GaimPlugin *my_protocol = NULL; @@ -126,7 +123,6 @@ struct signon { static void toc_login_callback(gpointer, gint, GaimInputCondition); static void toc_callback(gpointer, gint, GaimInputCondition); -static void accept_file_dialog(struct ft_request *); /* The following were added for win32 port - Herman */ @@ -918,6 +914,7 @@ static void toc_callback(gpointer data, "going through. This is only temporary, please " "be patient.")); } else if (!g_ascii_strcasecmp(c, "RVOUS_PROPOSE")) { +#if 0 char *user, *uuid, *cookie; int seq; char *rip, *pip, *vip, *trillian = NULL; @@ -1031,7 +1028,6 @@ static void toc_callback(gpointer data, } else if (!strcmp(uuid, VOICE_UID)) { /* oh goody. voice over ip. fun stuff. */ } else if (!strcmp(uuid, B_ICON_UID)) { - /* int unk[4], i; char *messages[4]; struct buddy_icon *icon; @@ -1049,7 +1045,6 @@ static void toc_callback(gpointer data, g_free(icon); for (i--; i >= 0; i--) g_free(messages[i]); - */ } else if (!strcmp(uuid, IMAGE_UID)) { /* aka Direct IM */ } else { @@ -1057,6 +1052,7 @@ static void toc_callback(gpointer data, "Don't know what to do with RVOUS UUID %s\n", uuid); /* do we have to do anything here? i think it just times out */ } +#endif } else { gaim_debug(GAIM_DEBUG_ERROR, "toc", "don't know what to do with %s\n", c); @@ -1543,6 +1539,7 @@ static GList *toc_actions(GaimConnection return m; } +#if 0 /********* * RVOUS ACTIONS ********/ @@ -2078,6 +2075,7 @@ static void accept_file_dialog(struct ft G_CALLBACK(toc_accept_ft), G_CALLBACK(toc_reject_ft)); } +#endif static GaimPluginProtocolInfo prpl_info = { |