comparison src/gtkimhtml.c @ 8120:81a63a9bff88

[gaim-migrate @ 8824] tweaks just seem to accumulate in my tree committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 16 Jan 2004 01:03:54 +0000
parents 52089b055c12
children 0dc9fffb1e28
comparison
equal deleted inserted replaced
8119:4acdd763e1ac 8120:81a63a9bff88
1648 color = gtk_imhtml_get_css_opt (style, "color: "); 1648 color = gtk_imhtml_get_css_opt (style, "color: ");
1649 family = gtk_imhtml_get_css_opt (style, 1649 family = gtk_imhtml_get_css_opt (style,
1650 "font-family: "); 1650 "font-family: ");
1651 size = gtk_imhtml_get_css_opt (style, "font-size: "); 1651 size = gtk_imhtml_get_css_opt (style, "font-size: ");
1652 1652
1653 if (!(color || family || size)) break; 1653 if (!(color || family || size)) {
1654 g_free(style);
1655 break;
1656 }
1654 1657
1655 if (url) 1658 if (url)
1656 gtk_imhtml_insert_link(imhtml, url, ws); 1659 gtk_imhtml_insert_link(imhtml, url, ws);
1657 else 1660 else
1658 gtk_text_buffer_insert(imhtml->text_buffer, &iter, ws, wpos); 1661 gtk_text_buffer_insert(imhtml->text_buffer, &iter, ws, wpos);