gnome 2 threading stuff
- From: jacob berkman <jacob ximian com>
- To: gnome-libs-devel gnome org
- Cc: Owen Taylor <otaylor redhat com>
- Subject: gnome 2 threading stuff
- Date: 12 Sep 2001 18:33:18 -0400
this makes dialogs not hang for me, but i don't know if it is the right
patch. should we be patching gnome in these cases, or each app?
jacob
--
"It drains me, and it shakes me, and hurts like hell everytime I play
it, looking out at thousands of people cheering and smiling, oblivious
to the tragedy of it's meaning, like when you're going to have your
dog put down and it's wagging it's tail on the way there." - Thom Yorke
Index: gnome-dialog.c
===================================================================
RCS file: /cvs/gnome/libgnomeui/libgnomeui/gnome-dialog.c,v
retrieving revision 1.76
diff -u -r1.76 gnome-dialog.c
--- gnome-dialog.c 2001/09/06 04:59:18 1.76
+++ gnome-dialog.c 2001/09/12 22:27:04
@@ -694,7 +694,9 @@
gtk_widget_show(GTK_WIDGET(dialog));
ri.mainloop = g_main_new(FALSE);
+ GDK_THREADS_LEAVE ();
g_main_run(ri.mainloop);
+ GDK_THREADS_ENTER ();
g_assert(ri.mainloop == NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]