diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | embed/mozilla/mozilla-embed.cpp | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -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) { |