aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-12-23 23:46:58 +0800
committerChristian Persch <chpe@src.gnome.org>2004-12-23 23:46:58 +0800
commitae406f215282f65b7179ffbbe94eb1ce69768099 (patch)
tree9712fdc7129c54c8280d17a3422af6e8113e1420 /src
parent98224f1760350ef3dfe6d8062d2c0627c02eb150 (diff)
downloadgsoc2013-epiphany-ae406f215282f65b7179ffbbe94eb1ce69768099.tar
gsoc2013-epiphany-ae406f215282f65b7179ffbbe94eb1ce69768099.tar.gz
gsoc2013-epiphany-ae406f215282f65b7179ffbbe94eb1ce69768099.tar.bz2
gsoc2013-epiphany-ae406f215282f65b7179ffbbe94eb1ce69768099.tar.lz
gsoc2013-epiphany-ae406f215282f65b7179ffbbe94eb1ce69768099.tar.xz
gsoc2013-epiphany-ae406f215282f65b7179ffbbe94eb1ce69768099.tar.zst
gsoc2013-epiphany-ae406f215282f65b7179ffbbe94eb1ce69768099.zip
A lib/ephy-signal-accumulator.c: (ephy_signal_accumulator_object): A
2004-12-23 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * lib/Makefile.am: * lib/ephy-marshal.list: A lib/ephy-signal-accumulator.c: (ephy_signal_accumulator_object): A lib/ephy-signal-accumulator.h: * src/ephy-tab.c: (ephy_tab_new_window_cb): Fix new_window signal.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-tab.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index 1a461ed79..3d15e36ba 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -1297,9 +1297,10 @@ ephy_tab_net_state_cb (EphyEmbed *embed, const char *uri,
build_progress_from_requests (tab, state);
}
-static void
-ephy_tab_new_window_cb (EphyEmbed *embed, EphyEmbed **new_embed,
- EphyEmbedChrome chromemask, EphyTab *tab)
+static EphyEmbed *
+ephy_tab_new_window_cb (EphyEmbed *embed,
+ EphyEmbedChrome chromemask,
+ EphyTab *tab)
{
EphyTab *new_tab;
EphyWindow *window;
@@ -1321,9 +1322,9 @@ ephy_tab_new_window_cb (EphyEmbed *embed, EphyEmbed **new_embed,
ephy_window_add_tab (window, new_tab, -1, FALSE);
- *new_embed = ephy_tab_get_embed (new_tab);
-
popups_manager_add_window (tab, window);
+
+ return ephy_tab_get_embed (new_tab);
}
static void