gtkhtml r8846 - in trunk: components/html-editor gtkhtml
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: gtkhtml r8846 - in trunk: components/html-editor gtkhtml
- Date: Mon, 19 May 2008 03:06:33 +0000 (UTC)
Author: sragavan
Date: Mon May 19 03:06:32 2008
New Revision: 8846
URL: http://svn.gnome.org/viewvc/gtkhtml?rev=8846&view=rev
Log:
comp warn fix
Modified:
trunk/components/html-editor/test-html-editor-control.c
trunk/gtkhtml/htmlurl.c
Modified: trunk/components/html-editor/test-html-editor-control.c
==============================================================================
--- trunk/components/html-editor/test-html-editor-control.c (original)
+++ trunk/components/html-editor/test-html-editor-control.c Mon May 19 03:06:32 2008
@@ -313,7 +313,8 @@
save_through_persist_file (filename, interface);
break;
default:
- g_assert_not_reached ();
+ ;
+ //g_assert_not_reached ();
}
g_free (filename);
Modified: trunk/gtkhtml/htmlurl.c
==============================================================================
--- trunk/gtkhtml/htmlurl.c (original)
+++ trunk/gtkhtml/htmlurl.c Mon May 19 03:06:32 2008
@@ -490,7 +490,8 @@
new = html_url_dup (url, HTML_URL_DUP_NOPATH);
- g_assert(url->path != NULL);
+ if (url->path == NULL)
+ return NULL;
tmppath = g_strdup(url->path);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]