comparison src/gtkhtml.c @ 1057:d50d3abb9eb7

[gaim-migrate @ 1067] attempting to pass -Wall (at least for app) committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 03 Nov 2000 10:46:58 +0000
parents 69c936ca2b04
children a4635c7c2128
comparison
equal deleted inserted replaced
1056:bde34730789c 1057:d50d3abb9eb7
1837 int shift; 1837 int shift;
1838 GtkStateType selected_state; 1838 GtkStateType selected_state;
1839 GtkWidget *widget = GTK_WIDGET(html); 1839 GtkWidget *widget = GTK_WIDGET(html);
1840 GdkRectangle area; 1840 GdkRectangle area;
1841 GList *hbits; 1841 GList *hbits;
1842 GtkHtmlBit *hbit;
1843 1842
1844 if (html->frozen > 0) 1843 if (html->frozen > 0)
1845 return; 1844 return;
1846 1845
1847 hbits = g_list_find(html->html_bits, hb); 1846 hbits = g_list_find(html->html_bits, hb);
4391 } 4390 }
4392 } 4391 }
4393 4392
4394 static int get_line_height(GtkHtml *html, GtkHtmlBit *start) 4393 static int get_line_height(GtkHtml *html, GtkHtmlBit *start)
4395 { 4394 {
4396 int height, max_height = 0; 4395 int height = 1, max_height = 0;
4397 GList *hbits = html->html_bits; 4396 GList *hbits = html->html_bits;
4398 GtkHtmlBit *hbit = start; /* default this in case hbits is NULL */ 4397 GtkHtmlBit *hbit = start; /* default this in case hbits is NULL */
4399 4398
4400 hbits = g_list_find(hbits, start); 4399 hbits = g_list_find(hbits, start);
4401 4400