From a899e3149c8c46212d6453e0c6fe13042118b46e Mon Sep 17 00:00:00 2001 From: John Ralls Date: Sun, 17 Oct 2010 20:21:41 +0000 Subject: [PATCH] Bug 611077: Warn instead of assert about gtk_html_jump_to_anchor not being implemented in webkit. Note, however, that Webkit seems to take care of this on its own, so even the warning may be unnecessary. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19669 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/html/gnc-html-webkit.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/html/gnc-html-webkit.c b/src/html/gnc-html-webkit.c index dbc73d810a..a5e590dc30 100644 --- a/src/html/gnc-html-webkit.c +++ b/src/html/gnc-html-webkit.c @@ -462,7 +462,8 @@ load_to_stream( GncHtmlWebkit* self, URLType type, gtk_main_iteration(); } // gtk_html_jump_to_anchor( GTK_HTML(priv->html), label ); - g_assert( FALSE ); + g_warning("jump_to_anchor is (still) unimplemented with the webkit viewer. Anchor=\"%s\"", label); + } return; @@ -865,7 +866,8 @@ impl_webkit_show_url( GncHtml* self, URLType type, else if ( safe_strcmp( type, URL_TYPE_JUMP ) == 0 ) { // gtk_html_jump_to_anchor( GTK_HTML(priv->html), label ); - g_assert( FALSE ); + g_warning("jump_to_anchor is (still) unimplemented with the webkit viewer. Anchor=\"%s\"", label); +// g_assert( FALSE ); } else if ( safe_strcmp( type, URL_TYPE_SECURE ) == 0 ||