Mercurial > pidgin.yaz
comparison src/gtkhtml.c @ 911:65c8bd1feec5
[gaim-migrate @ 921]
bah. this works better.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 14 Sep 2000 22:47:19 +0000 |
parents | 08d5037c9296 |
children | 215fe9039ae1 |
comparison
equal
deleted
inserted
replaced
910:568bb0f5c921 | 911:65c8bd1feec5 |
---|---|
2097 } | 2097 } |
2098 else if (hb->type == HTML_BIT_PIXMAP) | 2098 else if (hb->type == HTML_BIT_PIXMAP) |
2099 { | 2099 { |
2100 area.x = hb->x - html->xoffset; | 2100 area.x = hb->x - html->xoffset; |
2101 area.y = hb->y - hb->height + 5 - html->yoffset; | 2101 area.y = hb->y - hb->height + 5 - html->yoffset; |
2102 area.width = hb->width + 2; | 2102 area.width = hb->width; |
2103 area.height = hb->height; | 2103 area.height = hb->height; |
2104 clear_area(html, &area); | 2104 clear_area(html, &area); |
2105 gdk_gc_set_background(gc, &widget->style->base[GTK_STATE_NORMAL]); | 2105 gdk_gc_set_background(gc, &widget->style->base[GTK_STATE_NORMAL]); |
2106 gdk_draw_pixmap(html->html_area, gc, hb->pm, 0, 0, hb->x, | 2106 gdk_draw_pixmap(html->html_area, gc, hb->pm, 0, 0, hb->x, |
2107 hb->y - html->yoffset - (hb->height) + 4, -1, -1); | 2107 hb->y - html->yoffset - (hb->height) + 4, -1, -1); |