[evolution-patches] Re: fix for stale idle handler.



<lewing> --- htmlengine.c        1 May 2003 16:41:23 -0000       1.538
<lewing> +++ htmlengine.c        1 May 2003 20:32:17 -0000
<lewing> @@ -5055,8 +5055,10 @@ html_engine_thaw (HTMLEngine *engine)
<lewing>  void
<lewing>  html_engine_thaw_idle_flush (HTMLEngine *e)
<lewing>  {
<lewing> -       if (e->thaw_idle_id)
<lewing> +       if (e->thaw_idle_id) {
<lewing> +               g_source_remove (e->thaw_idle_id);
<lewing>                 thaw_idle (e);
<lewing> +       }
<lewing>  }

this fix is right.

btw, I know that e->thaw_idle_id is reset to 0 in thaw_idle, but it may
be more readable to reset it here as well? not a big deal though





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]