Update of /cvsroot/ufraw/ufraw
In directory vz-cvs-3.sog:/tmp/cvs-serv27716

Modified Files:
        ufraw-batch.c ufraw.c ufraw-gimp.c 
Log Message:
g_thread_init() is deprecated (and not necessary) in glib 2.31 and newer.

Index: ufraw.c
===================================================================
RCS file: /cvsroot/ufraw/ufraw/ufraw.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- ufraw.c     1 Jan 2012 15:30:20 -0000       1.64
+++ ufraw.c     2 Jan 2012 14:30:13 -0000       1.65
@@ -28,7 +28,9 @@
     int optInd;
     int plugin = 0;
 
+#if !GLIB_CHECK_VERSION(2,31,0)
     g_thread_init(NULL);
+#endif
     gdk_threads_init();
     gdk_threads_enter();
     char *argFile = uf_win32_locale_to_utf8(argv[0]);

Index: ufraw-gimp.c
===================================================================
RCS file: /cvsroot/ufraw/ufraw/ufraw-gimp.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -d -r1.70 -r1.71
--- ufraw-gimp.c        1 Jan 2012 15:30:20 -0000       1.70
+++ ufraw-gimp.c        2 Jan 2012 14:30:13 -0000       1.71
@@ -146,7 +146,9 @@
     conf_data rc;
     int status;
 
+#if !GLIB_CHECK_VERSION(2,31,0)
     g_thread_init(NULL);
+#endif
     gdk_threads_init();
     gdk_threads_enter();
     ufraw_binary = g_path_get_basename(gimp_get_progname());

Index: ufraw-batch.c
===================================================================
RCS file: /cvsroot/ufraw/ufraw/ufraw-batch.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- ufraw-batch.c       1 Jan 2012 15:30:20 -0000       1.42
+++ ufraw-batch.c       2 Jan 2012 14:30:13 -0000       1.43
@@ -28,7 +28,9 @@
     int status;
     int exitCode = 0;
 
+#if !GLIB_CHECK_VERSION(2,31,0)
     g_thread_init(NULL);
+#endif
     char *argFile = uf_win32_locale_to_utf8(argv[0]);
     ufraw_binary = g_path_get_basename(argFile);
     uf_init_locale(argFile);


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
ufraw-cvs mailing list
ufraw-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ufraw-cvs

Reply via email to