Re: Different issue with svn2459

  • From: <tpgww@xxxxxxxxxxx>
  • To: emelfm2@xxxxxxxxxxxxx
  • Date: Mon, 12 Mar 2012 09:32:38 +1100

On Sun, 11 Mar 2012 15:02:16 -0400
Charles A Edwards <eslrahc@xxxxxxxxxxxxx> wrote:

> 
> Build done using gtk+2 and glib2.0-2.31.20
> 
> My issue was with a g_thread error which caused make to fail.
> I solved this issue by patching /src/e2_main.c
> 
> 
> --- e2_main.c~        2012-03-11 14:51:06.000000000 -0400
> +++ e2_main.c 2012-03-11 14:51:39.000000000 -0400
> @@ -690,9 +690,7 @@
>       e2_main_replace_gdklock (FALSE);
>  #endif
>  
> -#ifndef USE_GLIB2_32
> -     g_thread_init (NULL);
> -#endif
> + 
>  #ifndef NATIVE_BGL
>       gdk_threads_set_lock_functions (e2_main_close_gdklock,
> e2_main_open_gdklock);
>  #endif

Yes, the code doesn't bother to handle development versions. In file emelfm2.h 
you will find

# if GLIB_CHECK_VERSION (2,32,0)
#  define USE_GLIB2_32
# endif

which could be

# if GLIB_CHECK_VERSION (2,31,0)
#  define USE_GLIB2_32
# endif

Regards
Tom


-- 
Users can unsubscribe from the list by sending email to 
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by 
logging into the web interface.

Other related posts: