aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyContentPolicy.cpp
diff options
context:
space:
mode:
authorJean-François Rameau <jframeau@cvs.gnome.org>2006-03-03 21:57:27 +0800
committerJean-François Rameau <jframeau@src.gnome.org>2006-03-03 21:57:27 +0800
commit7bb807425a00d571949c378e8bdf2edcf6ecb40a (patch)
tree9e2b7686dc572e6d96fe2648c76057da609217af /embed/mozilla/EphyContentPolicy.cpp
parent846c58ecb9f38d453a898749a0eb8e82b27c51bd (diff)
downloadgsoc2013-epiphany-7bb807425a00d571949c378e8bdf2edcf6ecb40a.tar
gsoc2013-epiphany-7bb807425a00d571949c378e8bdf2edcf6ecb40a.tar.gz
gsoc2013-epiphany-7bb807425a00d571949c378e8bdf2edcf6ecb40a.tar.bz2
gsoc2013-epiphany-7bb807425a00d571949c378e8bdf2edcf6ecb40a.tar.lz
gsoc2013-epiphany-7bb807425a00d571949c378e8bdf2edcf6ecb40a.tar.xz
gsoc2013-epiphany-7bb807425a00d571949c378e8bdf2edcf6ecb40a.tar.zst
gsoc2013-epiphany-7bb807425a00d571949c378e8bdf2edcf6ecb40a.zip
Sync Epiphany with new nsIGlobalHistory3 stuff.
2006-03-03 Jean-François Rameau <jframeau@cvs.gnome.org> * configure.ac: * embed/mozilla/GlobalHistory.h: * embed/mozilla/GlobalHistory.cpp: Sync Epiphany with new nsIGlobalHistory3 stuff. * embed/mozilla/EphyContentPolicy.cpp: (GetEmbedFromContext): Fix a missing return.
Diffstat (limited to 'embed/mozilla/EphyContentPolicy.cpp')
-rw-r--r--embed/mozilla/EphyContentPolicy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/mozilla/EphyContentPolicy.cpp b/embed/mozilla/EphyContentPolicy.cpp
index 137b8ae89..436ec0786 100644
--- a/embed/mozilla/EphyContentPolicy.cpp
+++ b/embed/mozilla/EphyContentPolicy.cpp
@@ -101,7 +101,7 @@ EphyContentPolicy::GetEmbedFromContext (nsISupports *aContext)
NS_ENSURE_TRUE (window, NULL);
GtkWidget *embed = EphyUtils::FindEmbed (window);
- if (!EPHY_IS_EMBED (embed)) NULL;
+ if (!EPHY_IS_EMBED (embed)) return NULL;
return embed;
}