diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-window.c | 8 |
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); |