Re: Updating (showing) the widgets of a dialog in a g_thread

2007-09-23 Thread Yeti
On Sat, Sep 22, 2007 at 10:49:56PM -0400, Andrew Smith wrote: > I have the following setup: > > gpointer thread1(gpointer data) > { > run_long_function(); > return NULL; > } > > gpointer thread2(gpointer data) > { > GtkWidget* dialog; > > gdk_threads_enter(); > dialo

Updating (showing) the widgets of a dialog in a g_thread

2007-09-22 Thread Andrew Smith
Hi I have the following setup: gpointer thread1(gpointer data) { run_long_function(); return NULL; } gpointer thread2(gpointer data) { GtkWidget* dialog; gdk_threads_enter(); dialog = gtk_message_dialog_new(GTK_WINDOW(win_main), GTK_DIALOG_DESTROY