[Kazehakase-cvs] kazehakase-svn [3027] * module/embed/gecko/kz-gecko-single.cpp: Fixed a crash when the link

Back to archive index

svnno****@sourc***** svnno****@sourc*****
Mon Mar 26 16:49:22 JST 2007


Revision: 3027
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3027
Author:   ikezoe
Date:     2007-03-26 16:49:22 +0900 (Mon, 26 Mar 2007)

Log Message:
-----------
* module/embed/gecko/kz-gecko-single.cpp: Fixed a crash when the link
in local HTML file is clicked..

Modified Paths:
--------------
    kazehakase/trunk/ChangeLog
    kazehakase/trunk/module/embed/gtk-webcore/kz-gtk-webcore.cpp

Modified: kazehakase/trunk/ChangeLog
===================================================================
--- kazehakase/trunk/ChangeLog	2007-03-26 07:44:19 UTC (rev 3026)
+++ kazehakase/trunk/ChangeLog	2007-03-26 07:49:22 UTC (rev 3027)
@@ -1,6 +1,8 @@
 2007-03-26  Hiroyuki Ikezoe  <poinc****@ikezo*****>
 
 	* src/net/uri.[ch], src/net/kz-http.c: GURI -> KzURI. gnet_ -> kz_.
+	* module/embed/gecko/kz-gecko-single.cpp: Fixed a crash when the link
+	in local HTML file is clicked..
 
 2007-03-26  Kouhei Sutou  <kou****@cozmi*****>
 

Modified: kazehakase/trunk/module/embed/gtk-webcore/kz-gtk-webcore.cpp
===================================================================
--- kazehakase/trunk/module/embed/gtk-webcore/kz-gtk-webcore.cpp	2007-03-26 07:44:19 UTC (rev 3026)
+++ kazehakase/trunk/module/embed/gtk-webcore/kz-gtk-webcore.cpp	2007-03-26 07:49:22 UTC (rev 3027)
@@ -889,9 +889,11 @@
 static const gchar *
 kz_gtk_webcore_get_location (KzEmbed *kzembed)
 {
+	const gchar *location;
 	g_return_val_if_fail(KZ_IS_GTK_WEBCORE(kzembed), NULL);
 
-	return webi_get_location(WEBI(kzembed));
+	location = webi_get_location(WEBI(kzembed));
+	return location ? location : "";
 }
 
 static gchar *




More information about the Kazehakase-cvs mailing list
Back to archive index