aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-08-08 06:13:53 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-08-08 06:13:53 +0800
commit012130270a6f72f19e26c49f112dfe6387440807 (patch)
tree08930082841d14b3ebde154c4e3dab5adcd8dfd9
parentd1e77fff25e5a65b15d975f76278db31c0af418f (diff)
downloadgsoc2013-epiphany-012130270a6f72f19e26c49f112dfe6387440807.tar
gsoc2013-epiphany-012130270a6f72f19e26c49f112dfe6387440807.tar.gz
gsoc2013-epiphany-012130270a6f72f19e26c49f112dfe6387440807.tar.bz2
gsoc2013-epiphany-012130270a6f72f19e26c49f112dfe6387440807.tar.lz
gsoc2013-epiphany-012130270a6f72f19e26c49f112dfe6387440807.tar.xz
gsoc2013-epiphany-012130270a6f72f19e26c49f112dfe6387440807.tar.zst
gsoc2013-epiphany-012130270a6f72f19e26c49f112dfe6387440807.zip
When the embed is not initialized return about:blank as address.
2003-08-08 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/mozilla-embed.cpp: When the embed is not initialized return about:blank as address.
-rw-r--r--ChangeLog7
-rw-r--r--embed/mozilla/mozilla-embed.cpp2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 28ef05166..639de37de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-08-08 Marco Pesenti Gritti <marco@it.gnome.org>
+
+ * embed/mozilla/mozilla-embed.cpp:
+
+ When the embed is not initialized return about:blank
+ as address.
+
2003-08-07 Marco Pesenti Gritti <marco@it.gnome.org>
* src/ephy-tab.c: (build_load_percent):
diff --git a/embed/mozilla/mozilla-embed.cpp b/embed/mozilla/mozilla-embed.cpp
index f0d85ba59..63c696d80 100644
--- a/embed/mozilla/mozilla-embed.cpp
+++ b/embed/mozilla/mozilla-embed.cpp
@@ -732,7 +732,7 @@ impl_get_location (EphyEmbed *embed,
* in fact the wrapper is initialized on net start */
if (!wrapper)
{
- *location = NULL;
+ *location = g_strdup ("about:blank");
return G_FAILED;
}