[Gnucash-changes] r12366 - gnucash/trunk/lib/libgsf-1.12.3/tests - Allow a libgsf test to pass even with glib 2.4.

Chris Shoemaker chris at cvs.gnucash.org
Mon Jan 16 09:24:58 EST 2006


Author: chris
Date: 2006-01-16 09:24:57 -0500 (Mon, 16 Jan 2006)
New Revision: 12366
Trac: http://svn.gnucash.org/trac/changeset/12366

Modified:
   gnucash/trunk/lib/libgsf-1.12.3/tests/test-cp-zip.c
Log:
Allow a libgsf test to pass even with glib 2.4.


Modified: gnucash/trunk/lib/libgsf-1.12.3/tests/test-cp-zip.c
===================================================================
--- gnucash/trunk/lib/libgsf-1.12.3/tests/test-cp-zip.c	2006-01-16 05:30:34 UTC (rev 12365)
+++ gnucash/trunk/lib/libgsf-1.12.3/tests/test-cp-zip.c	2006-01-16 14:24:57 UTC (rev 12366)
@@ -1,3 +1,7 @@
+#ifndef HAVE_GLIB26
+  #include <gsf/glib24_26-compat.h>
+#endif
+
 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 /*
  * test-cp-zip.c: Test gsf-outfile-zip by cloning a file the hard way



More information about the gnucash-changes mailing list