r19696 - gnucash/trunk/src/html - Bug 611077: Removed warnings, webkit handles jumps to anchors internally

John Ralls jralls at code.gnucash.org
Sat Oct 23 18:17:48 EDT 2010


Author: jralls
Date: 2010-10-23 18:17:48 -0400 (Sat, 23 Oct 2010)
New Revision: 19696
Trac: http://svn.gnucash.org/trac/changeset/19696

Modified:
   gnucash/trunk/src/html/gnc-html-webkit.c
Log:
Bug 611077: Removed warnings, webkit handles jumps to anchors internally

Modified: gnucash/trunk/src/html/gnc-html-webkit.c
===================================================================
--- gnucash/trunk/src/html/gnc-html-webkit.c	2010-10-23 10:38:48 UTC (rev 19695)
+++ gnucash/trunk/src/html/gnc-html-webkit.c	2010-10-23 22:17:48 UTC (rev 19696)
@@ -461,9 +461,7 @@
                 {
                     gtk_main_iteration();
                 }
-//				gtk_html_jump_to_anchor( GTK_HTML(priv->html), label );
-		g_warning("jump_to_anchor is (still) unimplemented with the webkit viewer. Anchor=\"%s\"", label);
-
+		/* No action required: Webkit jumps to the anchor on its own. */
             }
 
             return;
@@ -865,10 +863,7 @@
     }
     else if ( safe_strcmp( type, URL_TYPE_JUMP ) == 0 )
     {
-//		gtk_html_jump_to_anchor( GTK_HTML(priv->html), label );
-	g_warning("jump_to_anchor is (still) unimplemented with the webkit viewer. Anchor=\"%s\"", label);
-//        g_assert( FALSE );
-
+      /* Webkit jumps to the anchor on its own */
     }
     else if ( safe_strcmp( type, URL_TYPE_SECURE ) == 0 ||
               safe_strcmp( type, URL_TYPE_HTTP ) == 0 ||



More information about the gnucash-changes mailing list