aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2007-09-13 20:57:54 +0800
committerChristian Persch <chpe@src.gnome.org>2007-09-13 20:57:54 +0800
commitcebaf7e49b3fb99ea90e24e080680df68b7d64c3 (patch)
tree191bcd7d70084157953476241539c6c460a5cb63 /embed
parent726e2bcf255966c6eab86a04d437edc797375606 (diff)
downloadgsoc2013-epiphany-cebaf7e49b3fb99ea90e24e080680df68b7d64c3.tar
gsoc2013-epiphany-cebaf7e49b3fb99ea90e24e080680df68b7d64c3.tar.gz
gsoc2013-epiphany-cebaf7e49b3fb99ea90e24e080680df68b7d64c3.tar.bz2
gsoc2013-epiphany-cebaf7e49b3fb99ea90e24e080680df68b7d64c3.tar.lz
gsoc2013-epiphany-cebaf7e49b3fb99ea90e24e080680df68b7d64c3.tar.xz
gsoc2013-epiphany-cebaf7e49b3fb99ea90e24e080680df68b7d64c3.tar.zst
gsoc2013-epiphany-cebaf7e49b3fb99ea90e24e080680df68b7d64c3.zip
Assert that constructing the single succeeded.
svn path=/trunk/; revision=7420
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed-shell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index fe5da248a..17334526c 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -258,6 +258,7 @@ impl_get_embed_single (EphyEmbedShell *shell)
{
priv->embed_single = EPHY_EMBED_SINGLE
(ephy_embed_factory_new_object (EPHY_TYPE_EMBED_SINGLE));
+ g_assert (priv->embed_single != NULL);
if (!ephy_embed_single_init (priv->embed_single))
{