From: Luke S. <lsc...@us...> - 2003-08-26 00:29:25
|
Update of /cvsroot/gaim/gaim/src/protocols/jabber In directory sc8-pr-cvs1:/tmp/cvs-serv23266/src/protocols/jabber Modified Files: jabber.c Log Message: (10:10:23) Robot101: kills off OPT_CONN_* in favour of an enum, and deprecates all the IM_FLAGS_* except IM_FLAG_AWAY which is made into GAIM_IM_AUTO_RESP in a GaimImFlags enum. Index: jabber.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/jabber/jabber.c,v retrieving revision 1.177 retrieving revision 1.178 diff -u -d -r1.177 -r1.178 --- jabber.c 23 Aug 2003 05:40:51 -0000 1.177 +++ jabber.c 25 Aug 2003 14:12:26 -0000 1.178 @@ -2359,7 +2359,7 @@ struct jabber_data *jd = gc->proto_data = g_new0(struct jabber_data, 1); char *loginname = create_valid_jid(account->username, DEFAULT_SERVER, "Gaim"); - gc->flags |= OPT_CONN_HTML; + gc->flags |= GAIM_CONNECTION_HTML; jd->buddies = g_hash_table_new(g_str_hash, g_str_equal); jd->chats = NULL; /* we have no chats yet */ @@ -2515,7 +2515,7 @@ g_free(xhtml); } -static int jabber_send_im(GaimConnection *gc, const char *who, const char *message, int len, int flags) +static int jabber_send_im(GaimConnection *gc, const char *who, const char *message, int len, GaimImFlags flags) { xmlnode x, y; char *thread_id = NULL; |