aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-embed-find.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-03-06 04:54:32 +0800
committerChristian Persch <chpe@src.gnome.org>2006-03-06 04:54:32 +0800
commitd791244c78d9f1d2a8d04135e7de59a3bfa28237 (patch)
tree80d6235f8d9e2d241d253b240ae7f81cd2aff34c /embed/mozilla/mozilla-embed-find.cpp
parent8fbc5afdd03d2fe502610d39eb691fe9aca932be (diff)
downloadgsoc2013-epiphany-d791244c78d9f1d2a8d04135e7de59a3bfa28237.tar.gz
gsoc2013-epiphany-d791244c78d9f1d2a8d04135e7de59a3bfa28237.tar.zst
gsoc2013-epiphany-d791244c78d9f1d2a8d04135e7de59a3bfa28237.zip
Don't use g_return_if_fail here.
2006-03-05 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-find.cpp: Don't use g_return_if_fail here. * embed/mozilla/mozilla-embed-single.cpp: Remove fixed FIXME.
Diffstat (limited to 'embed/mozilla/mozilla-embed-find.cpp')
-rw-r--r--embed/mozilla/mozilla-embed-find.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/embed/mozilla/mozilla-embed-find.cpp b/embed/mozilla/mozilla-embed-find.cpp
index 1c057f577..1f3597c7e 100644
--- a/embed/mozilla/mozilla-embed-find.cpp
+++ b/embed/mozilla/mozilla-embed-find.cpp
@@ -46,9 +46,7 @@ impl_set_embed (EphyEmbedFind *efind,
MozillaEmbedFind *find = MOZILLA_EMBED_FIND (efind);
MozillaEmbedFindPrivate *priv = find->priv;
- nsresult rv;
- rv = priv->find->SetEmbed (embed);
- g_return_if_fail (NS_SUCCEEDED (rv));
+ priv->find->SetEmbed (embed);
}
static void