r18835 - gnucash/trunk/src/html - The webkit used on win32 has webkit_web_frame_print_full() defined in include files, so we don't need a potentially conflicting extern declaration.

Phil Longstaff plongstaff at code.gnucash.org
Fri Mar 5 12:56:03 EST 2010


Author: plongstaff
Date: 2010-03-05 12:56:02 -0500 (Fri, 05 Mar 2010)
New Revision: 18835
Trac: http://svn.gnucash.org/trac/changeset/18835

Modified:
   gnucash/trunk/src/html/gnc-html-webkit.c
Log:
The webkit used on win32 has webkit_web_frame_print_full() defined in include files, so we don't need a potentially conflicting extern declaration.


Modified: gnucash/trunk/src/html/gnc-html-webkit.c
===================================================================
--- gnucash/trunk/src/html/gnc-html-webkit.c	2010-03-05 17:55:01 UTC (rev 18834)
+++ gnucash/trunk/src/html/gnc-html-webkit.c	2010-03-05 17:56:02 UTC (rev 18835)
@@ -1001,10 +1001,7 @@
 static void
 impl_webkit_print( GncHtml* self )
 {
-#ifdef G_OS_WIN32
-    extern GtkPrintOperationResult webkit_web_frame_print_full( WebKitWebFrame * frame,
-            GtkPrintOperation * op, GtkPrintOperationAction action, GError** error );
-#else
+#ifndef G_OS_WIN32
     extern void webkit_web_frame_print( WebKitWebFrame * frame );
 #endif
 



More information about the gnucash-changes mailing list