Mercurial > pidgin
comparison src/gtkhtml.c @ 1079:a4635c7c2128
[gaim-migrate @ 1089]
whoops
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Fri, 10 Nov 2000 04:11:34 +0000 |
| parents | d50d3abb9eb7 |
| children | 5bc8fdacd2cb |
comparison
equal
deleted
inserted
replaced
| 1078:3819a5a377b2 | 1079:a4635c7c2128 |
|---|---|
| 3191 { | 3191 { |
| 3192 GdkColormap *map; | 3192 GdkColormap *map; |
| 3193 GdkFont *cfont; | 3193 GdkFont *cfont; |
| 3194 GdkRectangle area; | 3194 GdkRectangle area; |
| 3195 char *ws, | 3195 char *ws, |
| 3196 tag[BUF_LONG], | 3196 *tag, |
| 3197 *c, | 3197 *c, |
| 3198 *url = NULL; | 3198 *url = NULL; |
| 3199 gint intag = 0, | 3199 gint intag = 0, |
| 3200 wpos = 0, | 3200 wpos = 0, |
| 3201 tpos = 0; | 3201 tpos = 0; |
| 3235 map = gdk_window_get_colormap(html->html_area); | 3235 map = gdk_window_get_colormap(html->html_area); |
| 3236 cfont = getfont(current->font, bold, italic, fixed, current->size); | 3236 cfont = getfont(current->font, bold, italic, fixed, current->size); |
| 3237 c = text; | 3237 c = text; |
| 3238 | 3238 |
| 3239 ws = g_malloc(strlen(text) + 2); | 3239 ws = g_malloc(strlen(text) + 2); |
| 3240 tag = g_malloc(strlen(text) + 2); | |
| 3240 | 3241 |
| 3241 while (*c) | 3242 while (*c) |
| 3242 { | 3243 { |
| 3243 if (*c == '<') | 3244 if (*c == '<') |
| 3244 { | 3245 { |
| 3679 0, 0, NULL); | 3680 0, 0, NULL); |
| 3680 */ } | 3681 */ } |
| 3681 | 3682 |
| 3682 | 3683 |
| 3683 g_free(ws); | 3684 g_free(ws); |
| 3685 g_free(tag); | |
| 3684 | 3686 |
| 3685 gdk_window_get_size(html->html_area, NULL, &height); | 3687 gdk_window_get_size(html->html_area, NULL, &height); |
| 3686 area.height = height; | 3688 area.height = height; |
| 3687 gtk_adjustment_set_value(html->vadj, html->vadj->upper - area.height); | 3689 gtk_adjustment_set_value(html->vadj, html->vadj->upper - area.height); |
| 3688 | 3690 |
