aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/mozilla-embed.cpp2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 716e867bf..6dfc9ba19 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-12-01 Marco Pesenti Gritti <marco@gnome.org>
+
+ * embed/mozilla/mozilla-embed.cpp:
+
+ Handle case of get_location on an unrealized widget
+
2003-11-30 Christian Persch <chpe@cvs.gnome.org>
* src/window-commands.c:
diff --git a/embed/mozilla/mozilla-embed.cpp b/embed/mozilla/mozilla-embed.cpp
index 1ebec735a..c031664af 100644
--- a/embed/mozilla/mozilla-embed.cpp
+++ b/embed/mozilla/mozilla-embed.cpp
@@ -513,6 +513,8 @@ impl_get_location (EphyEmbed *embed,
char *l;
nsresult rv;
nsCAutoString url;
+
+ if (mpriv->browser == NULL) return NULL;
if (toplevel)
{