Commit 9fc2426c authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

be consistent and don't block.


2001-06-02  Jody Goldberg <jgoldberg@home.com>

	* src/main.c (handle_paint_events) : be consistent and don't block.

	* src/io-context.c (io_progress_update) : avoid an infinite loop.
parent 2de81687
2001-06-02 Jody Goldberg <jgoldberg@home.com>
* src/main.c (handle_paint_events) : be consistent and don't block.
* src/io-context.c (io_progress_update) : avoid an infinite loop.
2001-06-02 Jody Goldberg <jgoldberg@home.com>
* src/format.c (format_compile) : rewrite, not quite done.
......
2001-06-02 Jody Goldberg <jgoldberg@home.com>
* src/main.c (handle_paint_events) : be consistent and don't block.
* src/io-context.c (io_progress_update) : avoid an infinite loop.
2001-06-02 Jody Goldberg <jgoldberg@home.com>
* src/format.c (format_compile) : rewrite, not quite done.
......
2001-06-02 Jody Goldberg <jgoldberg@home.com>
* src/main.c (handle_paint_events) : be consistent and don't block.
* src/io-context.c (io_progress_update) : avoid an infinite loop.
2001-06-02 Jody Goldberg <jgoldberg@home.com>
* src/format.c (format_compile) : rewrite, not quite done.
......
2001-06-02 Jody Goldberg <jgoldberg@home.com>
* src/main.c (handle_paint_events) : be consistent and don't block.
* src/io-context.c (io_progress_update) : avoid an infinite loop.
2001-06-02 Jody Goldberg <jgoldberg@home.com>
* src/format.c (format_compile) : rewrite, not quite done.
......
2001-06-02 Jody Goldberg <jgoldberg@home.com>
* src/main.c (handle_paint_events) : be consistent and don't block.
* src/io-context.c (io_progress_update) : avoid an infinite loop.
2001-06-02 Jody Goldberg <jgoldberg@home.com>
* src/format.c (format_compile) : rewrite, not quite done.
......
......@@ -208,7 +208,9 @@ io_progress_update (IOContext *io_context, gdouble f)
io_context->last_progress = f;
}
}
while (gtk_main_iteration_do (FALSE));
while (gtk_events_pending ())
gtk_main_iteration_do (FALSE);
}
void
......
......@@ -106,9 +106,8 @@ handle_paint_events (void)
{
/* FIXME: we need to mask input events correctly here */
/* Show something coherent */
while (gtk_events_pending () &&
!initial_workbook_open_complete)
gtk_main_iteration ();
while (gtk_events_pending () && !initial_workbook_open_complete)
gtk_main_iteration_do (FALSE);
}
......
......@@ -106,9 +106,8 @@ handle_paint_events (void)
{
/* FIXME: we need to mask input events correctly here */
/* Show something coherent */
while (gtk_events_pending () &&
!initial_workbook_open_complete)
gtk_main_iteration ();
while (gtk_events_pending () && !initial_workbook_open_complete)
gtk_main_iteration_do (FALSE);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment