r19205 - gnucash/trunk/src/html - Properly check for the unavailability of windows webkit.

Geert Janssens gjanssens at code.gnucash.org
Tue May 25 17:15:00 EDT 2010


Author: gjanssens
Date: 2010-05-25 17:15:00 -0400 (Tue, 25 May 2010)
New Revision: 19205
Trac: http://svn.gnucash.org/trac/changeset/19205

Modified:
   gnucash/trunk/src/html/gnc-html-webkit.c
Log:
Properly check for the unavailability of windows webkit.
The logic was accidentally inverted when #ifndef got replaced with if HAVE().
As a side effect, this fixes a mingw gcc-4.4 compiler warning.

Modified: gnucash/trunk/src/html/gnc-html-webkit.c
===================================================================
--- gnucash/trunk/src/html/gnc-html-webkit.c	2010-05-25 20:20:52 UTC (rev 19204)
+++ gnucash/trunk/src/html/gnc-html-webkit.c	2010-05-25 21:15:00 UTC (rev 19205)
@@ -1063,7 +1063,7 @@
 static void
 impl_webkit_print( GncHtml* self )
 {
-#if HAVE(WEBKIT_WEB_FRAME_PRINT_FULL)
+#if !HAVE(WEBKIT_WEB_FRAME_PRINT_FULL)
     extern void webkit_web_frame_print( WebKitWebFrame * frame );
 #endif
 



More information about the gnucash-changes mailing list