Mercurial > pidgin
comparison src/gtkimhtml.c @ 9186:a9f97d5258f8
[gaim-migrate @ 9981]
This fixes bug 961911 Pasting HTML with images (from firefire) crashes
It doesn't actually let you paste the images, just ignores the tags.
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Sun, 06 Jun 2004 01:20:25 +0000 |
parents | f06013ff80d9 |
children | 395e62cf7bf6 |
comparison
equal
deleted
inserted
replaced
9185:f2e75dd2971a | 9186:a9f97d5258f8 |
---|---|
2195 | 2195 |
2196 if (!(imhtml->format_functions & GTK_IMHTML_IMAGE)) | 2196 if (!(imhtml->format_functions & GTK_IMHTML_IMAGE)) |
2197 break; | 2197 break; |
2198 | 2198 |
2199 id = gtk_imhtml_get_html_opt(tag, "ID="); | 2199 id = gtk_imhtml_get_html_opt(tag, "ID="); |
2200 | 2200 if (!id) |
2201 break; | |
2201 gtk_imhtml_insert_image_at_iter(imhtml, atoi(id), iter); | 2202 gtk_imhtml_insert_image_at_iter(imhtml, atoi(id), iter); |
2202 break; | 2203 break; |
2203 } | 2204 } |
2204 case 47: /* P (opt) */ | 2205 case 47: /* P (opt) */ |
2205 case 48: /* H3 (opt) */ | 2206 case 48: /* H3 (opt) */ |