diff options
author | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-12-11 00:48:36 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-12-11 01:09:44 +0800 |
commit | 533c34899f09a1fa0e80aa198bd72ec2a90b1689 (patch) | |
tree | f11f94d4c0e12703cd3a1d1379ccdea6e0cbe852 /src/ephy-session.c | |
parent | e65754da16f9af433cd90279b60855705855253a (diff) | |
download | gsoc2013-epiphany-533c34899f09a1fa0e80aa198bd72ec2a90b1689.tar gsoc2013-epiphany-533c34899f09a1fa0e80aa198bd72ec2a90b1689.tar.gz gsoc2013-epiphany-533c34899f09a1fa0e80aa198bd72ec2a90b1689.tar.bz2 gsoc2013-epiphany-533c34899f09a1fa0e80aa198bd72ec2a90b1689.tar.lz gsoc2013-epiphany-533c34899f09a1fa0e80aa198bd72ec2a90b1689.tar.xz gsoc2013-epiphany-533c34899f09a1fa0e80aa198bd72ec2a90b1689.tar.zst gsoc2013-epiphany-533c34899f09a1fa0e80aa198bd72ec2a90b1689.zip |
ephy-shell: remove the ephy_shell global
https://bugzilla.gnome.org/show_bug.cgi?id=683614
Diffstat (limited to 'src/ephy-session.c')
-rw-r--r-- | src/ephy-session.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c index 962fbf675..d761d9d33 100644 --- a/src/ephy-session.c +++ b/src/ephy-session.c @@ -764,7 +764,8 @@ confirm_before_recover (EphyWindow* window, char* url, char* title) { EphyEmbed *embed; - embed = ephy_shell_new_tab (ephy_shell, window, NULL, NULL, + embed = ephy_shell_new_tab (ephy_shell_get_default (), + window, NULL, NULL, EPHY_NEW_TAB_IN_EXISTING_WINDOW | EPHY_NEW_TAB_APPEND_LAST); @@ -807,7 +808,8 @@ parse_embed (xmlNodePtr child, { recover_url = (char *) url; - ephy_shell_new_tab (ephy_shell, window, NULL, recover_url, + ephy_shell_new_tab (ephy_shell_get_default (), + window, NULL, recover_url, EPHY_NEW_TAB_IN_EXISTING_WINDOW | EPHY_NEW_TAB_OPEN_PAGE | EPHY_NEW_TAB_APPEND_LAST); |