[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sylpheed
Subject:    [sylpheed:27901] Re: Sylpheed doesn't work with accessibility
From:       Laurent Bigonville <l.bigonville () edpnet ! be>
Date:       2006-05-17 13:12:54
Message-ID: 20060517151254.3b114c70.l.bigonville () edpnet ! be
[Download RAW message or body]

On Wed, 17 May 2006 14:17:57 +0900 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp> wrote:

> Hello,
> 
> On Tue, 16 May 2006 21:42:14 +0200
> Laurent Bigonville <l.bigonville@edpnet.be> wrote:
> 
> > Sylpheed doesn't work with accessibility features enabled.
> > 
> > I get
> > 
> > GTK Accessibility Module initialized
> > 
> > GThread-ERROR **: GThread system may only be initialized once.
> > aborting...
> > Abandon
> 
> Please try the following patch:
> 
> 
> --- src/main.c  (revision 1067)
> +++ src/main.c  (working copy)
> @@ -188,8 +188,9 @@
>         gtk_widget_set_default_visual(gdk_rgb_get_visual());
>  
>  #if USE_THREADS || USE_LDAP
> -       g_thread_init(NULL);
>         if (!g_thread_supported())
> +               g_thread_init(NULL);
> +       if (!g_thread_supported())
>                 g_error(_("g_thread is not supported by glib.\n"));
>  #endif
> 

This patch works

Thanks

Laurent

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic