aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-11-17 02:53:17 +0800
committerXan Lopez <xan@src.gnome.org>2007-11-17 02:53:17 +0800
commit7a04f9035bafcbaab6d01fe0cb65b0fa7bc7b6ad (patch)
tree18b1446cba81b84bf7e2b94895596bcec9353274
parent1e2163bff26a32c04dc3f0df5d43b4f723929ca0 (diff)
downloadgsoc2013-epiphany-7a04f9035bafcbaab6d01fe0cb65b0fa7bc7b6ad.tar
gsoc2013-epiphany-7a04f9035bafcbaab6d01fe0cb65b0fa7bc7b6ad.tar.gz
gsoc2013-epiphany-7a04f9035bafcbaab6d01fe0cb65b0fa7bc7b6ad.tar.bz2
gsoc2013-epiphany-7a04f9035bafcbaab6d01fe0cb65b0fa7bc7b6ad.tar.lz
gsoc2013-epiphany-7a04f9035bafcbaab6d01fe0cb65b0fa7bc7b6ad.tar.xz
gsoc2013-epiphany-7a04f9035bafcbaab6d01fe0cb65b0fa7bc7b6ad.tar.zst
gsoc2013-epiphany-7a04f9035bafcbaab6d01fe0cb65b0fa7bc7b6ad.zip
Unbreak the build...
svn path=/trunk/; revision=7702
-rw-r--r--src/ephy-window.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 416a8501b..15d37776a 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -487,13 +487,13 @@ ephy_window_add_child (EphyEmbedContainer *container,
{
EphyWindow *window;
- g_return_if_fail (EPHY_IS_WINDOW (container));
- g_return_if_fail (EPHY_IS_EMBED (child));
+ g_return_val_if_fail (EPHY_IS_WINDOW (container), -1);
+ g_return_val_if_fail (EPHY_IS_EMBED (child), -1);
window = EPHY_WINDOW (container);
- g_return_if_fail (!window->priv->is_popup ||
- gtk_notebook_get_n_pages (GTK_NOTEBOOK (window->priv->notebook)) < 1);
+ g_return_val_if_fail (!window->priv->is_popup ||
+ gtk_notebook_get_n_pages (GTK_NOTEBOOK (window->priv->notebook)) < 1, -1);
ephy_notebook_add_tab (EPHY_NOTEBOOK (window->priv->notebook),
child, position, jump_to);