Mercurial > pidgin
comparison src/gtkimhtml.c @ 10852:62b5117114d2
[gaim-migrate @ 12526]
do we need this any more? it is annoyying as all get out.
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Tue, 19 Apr 2005 16:00:20 +0000 |
parents | c203cd637f95 |
children | 06e71aa662af |
comparison
equal
deleted
inserted
replaced
10851:1ed57d48ebb2 | 10852:62b5117114d2 |
---|---|
2189 GtkAdjustment *adj = GTK_TEXT_VIEW(imhtml)->vadjustment; | 2189 GtkAdjustment *adj = GTK_TEXT_VIEW(imhtml)->vadjustment; |
2190 gdouble val = adj->upper - adj->page_size; | 2190 gdouble val = adj->upper - adj->page_size; |
2191 gdouble t; | 2191 gdouble t; |
2192 | 2192 |
2193 t = g_timer_elapsed(imhtml->scroll_time, NULL); | 2193 t = g_timer_elapsed(imhtml->scroll_time, NULL); |
2194 | |
2195 | |
2196 gaim_debug_info("gtkimhtml", "in scroll_cb\n"); | |
2197 | 2194 |
2198 if (adj->value >= val || t >= MAX_SCROLL_TIME) { | 2195 if (adj->value >= val || t >= MAX_SCROLL_TIME) { |
2199 gaim_debug_info("gtkimhtml", "scroll_cb: out of time\n"); | 2196 gaim_debug_info("gtkimhtml", "scroll_cb: out of time\n"); |
2200 gtk_adjustment_set_value(adj, val); | 2197 gtk_adjustment_set_value(adj, val); |
2201 } else { | 2198 } else { |