Re: 0.9.4 problem with the configuration of .balsarc



The correct fix is to put gdk_threads_{enter,leave} around the call to
gtk_main
in libinit_balsa/init_balsa.c, the same as the call in src/main.c

I have just commited this...

On Wed, 06 Sep 2000 16:12:30 Pablo Lopez Cienfuegos wrote:
> 	Hi all:
> 
> 	When you run balsa for the first time, it starts a druid to
configure
> .balsarc. When the druid have finished balsa hangs and is unable to
> start the main application; you have to Ctrl+C the application, and
> then restart balsa.
> 
> 	I have a patch to fix this, but I still don't know how to make a
patch,
> so here goes the instructions to fix the bug:
> 
> 	In src/main.c, you have:
> 
> <CODE>
> int
> main (int argc, char *argv[])
> {
> 
> [snip]
> 
>   gtk_idle_add((GtkFunction)initial_open_mailboxes,
>                g_strdup(balsa_app.open_mailbox));
> ++ add this ++-> gdk_threads_leave(); <-++ add this ++
>   gdk_threads_enter();
>   gtk_main();
>   gdk_threads_leave();
> 
> [snip]
> 
> }
> </CODE>
> 
> all you have to do is add "gdk_threads_leave();" just before
> "gdk_threads_enter();".
> 
> 	Best regards.
> 
> -- 
>    .~.
>   (O O)     Pablo López Cienfuegos
>   / V \     http://www.fortunecity.com/skyscraper/corel/284/
>  //   \\    http://members.es.tripod.de/xtrasgu/
> /(( _ ))\   xtrasgu@jazzfree.com
>  ooO Ooo
> 
> 
> 
> _______________________________________________
> balsa-list mailing list
> balsa-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/balsa-list





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