Mercurial > pidgin
comparison src/protocols/gg/gg.c @ 2856:b1e300a85678
[gaim-migrate @ 2869]
rewrote the html parser in gtkimhtml. yes, that's really all i did. the reason for the massive change is because i added a length argument, which then needed to be propogated down to everything that would ever receive anything that would get drawn to the window.
the new parser isn't any faster. that wasn't my goal. it's much more understandable now (hopefully, anyway).
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 08 Dec 2001 09:48:52 +0000 |
parents | 4b3f17ca66bf |
children | 7a158753b8d6 |
comparison
equal
deleted
inserted
replaced
2855:19f786779b08 | 2856:b1e300a85678 |
---|---|
1 /* | 1 /* |
2 * gaim - Gadu-Gadu Protocol Plugin | 2 * gaim - Gadu-Gadu Protocol Plugin |
3 * $Id: gg.c 2859 2001-12-05 09:48:56Z warmenhoven $ | 3 * $Id: gg.c 2869 2001-12-08 09:48:52Z warmenhoven $ |
4 * | 4 * |
5 * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> | 5 * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> |
6 * | 6 * |
7 * This program is free software; you can redistribute it and/or modify | 7 * This program is free software; you can redistribute it and/or modify |
8 * it under the terms of the GNU General Public License as published by | 8 * it under the terms of the GNU General Public License as published by |
367 if (!allowed_uin(gc, user)) | 367 if (!allowed_uin(gc, user)) |
368 break; | 368 break; |
369 imsg = charset_convert(e->event.msg.message, "CP1250", find_local_charset()); | 369 imsg = charset_convert(e->event.msg.message, "CP1250", find_local_charset()); |
370 strip_linefeed(imsg); | 370 strip_linefeed(imsg); |
371 /* e->event.msg.time - we don't know what this time is for */ | 371 /* e->event.msg.time - we don't know what this time is for */ |
372 serv_got_im(gc, user, imsg, 0, time((time_t) NULL)); | 372 serv_got_im(gc, user, imsg, 0, time(NULL), -1); |
373 g_free(imsg); | 373 g_free(imsg); |
374 } | 374 } |
375 break; | 375 break; |
376 case GG_EVENT_NOTIFY: | 376 case GG_EVENT_NOTIFY: |
377 { | 377 { |