In glib-2.9/2.10, GMemChunk is deprecated for GSlice. GSlice
isn't added until 2.9/2.10, so we can't port the code to that.
Hence, turn off G_DISABLE_DEPRECATED for this one file only.

Bill
--- gnucash/lib/libqof/qof/guid.c.foo   2005-12-22 17:13:33.000000000 -0500
+++ gnucash/lib/libqof/qof/guid.c       2005-12-22 17:17:02.000000000 -0500
@@ -27,6 +27,8 @@
 #ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
+/* fix for glib-2.10 */
+#undef G_DISABLE_DEPRECATED
 
 #include <sys/types.h>
 #include <ctype.h>
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to