Mercurial > pidgin.yaz
comparison libgaim/protocols/jabber/parser.c @ 14638:459dafda90af
[gaim-migrate @ 17384]
GtkCellRendererExpander draws an expander in a renderer to avoid a large, needless margin.
The approach is a bit hacky, but it's a good job.
- RTL fix in GtkStatusBox
- Drag-and-drop image into the global buddy icon selector to set a buddy icon
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Wed, 27 Sep 2006 17:28:44 +0000 |
parents | 58202142e9ad |
children | 22d14df59ce4 |
comparison
equal
deleted
inserted
replaced
14637:c811cfc944d1 | 14638:459dafda90af |
---|---|
172 { | 172 { |
173 if (js->context == NULL) { | 173 if (js->context == NULL) { |
174 /* libxml inconsistently starts parsing on creating the | 174 /* libxml inconsistently starts parsing on creating the |
175 * parser, so do a ParseChunk right afterwards to force it. */ | 175 * parser, so do a ParseChunk right afterwards to force it. */ |
176 js->context = xmlCreatePushParserCtxt(&jabber_parser_libxml, js, buf, len, NULL); | 176 js->context = xmlCreatePushParserCtxt(&jabber_parser_libxml, js, buf, len, NULL); |
177 xmlParseChunk(js->context, NULL, 0, 0); | 177 xmlParseChunk(js->context, "", 0, 0); |
178 } else if (xmlParseChunk(js->context, buf, len, 0) < 0) { | 178 } else if (xmlParseChunk(js->context, buf, len, 0) < 0) { |
179 gaim_connection_error(js->gc, _("XML Parse error")); | 179 gaim_connection_error(js->gc, _("XML Parse error")); |
180 } | 180 } |
181 } | 181 } |
182 | 182 |