Don't scroll in idle, doesn't seem to be a problem

This commit is contained in:
Yevgen Muntyan 2006-05-31 13:04:07 -05:00
parent cabb41a7d6
commit 8035cb2a0a

View File

@ -1452,7 +1452,7 @@ moo_text_view_move_cursor (MooTextView *view,
int line, int line,
int offset, int offset,
gboolean offset_visual, gboolean offset_visual,
gboolean in_idle) G_GNUC_UNUSED gboolean in_idle)
{ {
Scroll *scroll; Scroll *scroll;
@ -1464,10 +1464,10 @@ moo_text_view_move_cursor (MooTextView *view,
scroll->character = offset; scroll->character = offset;
scroll->visual = offset_visual; scroll->visual = offset_visual;
if (in_idle) // if (in_idle)
g_idle_add ((GSourceFunc) do_move_cursor, // g_idle_add ((GSourceFunc) do_move_cursor,
scroll); // scroll);
else // else
do_move_cursor (scroll); do_move_cursor (scroll);
} }