Re: [gtk-list] [patch] mainloop




Owen Taylor <owt1@cornell.edu> writes:

> I've tested the timeouts pretty extensively, the idles less so.  If
> you use such things extensively in your programs, you might want to
> give a spin and see if it breaks anything.

Well, I guess I didn't test extensively enough. As originally posted
the patch causes hangs in the GIMP. The following change (applied on
top of the patch) should fix that.

Oh well,
                                        Owen

*** gtk+970925.orig/gtk/gtkmain.c	Sat Oct 18 18:19:26 1997
--- gtk+970925/gtk/gtkmain.c	Sat Oct 18 17:48:42 1997
***************
*** 783,789 ****
  	tmp_list->next = list2;
        else
  	list1 = list2;
!       list2->prev = list1;
      }
  
    return list1;
--- 783,789 ----
  	tmp_list->next = list2;
        else
  	list1 = list2;
!       list2->prev = tmp_list;
      }
  
    return list1;



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