diff options
author | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-12-11 00:24:45 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-12-11 01:08:40 +0800 |
commit | e65754da16f9af433cd90279b60855705855253a (patch) | |
tree | 1e9229965f9a2ff0552e202e2df91bee59dba928 /embed/ephy-download.c | |
parent | 43587a75794e27225c71d485620f875b12338ac1 (diff) | |
download | gsoc2013-epiphany-e65754da16f9af433cd90279b60855705855253a.tar gsoc2013-epiphany-e65754da16f9af433cd90279b60855705855253a.tar.gz gsoc2013-epiphany-e65754da16f9af433cd90279b60855705855253a.tar.bz2 gsoc2013-epiphany-e65754da16f9af433cd90279b60855705855253a.tar.lz gsoc2013-epiphany-e65754da16f9af433cd90279b60855705855253a.tar.xz gsoc2013-epiphany-e65754da16f9af433cd90279b60855705855253a.tar.zst gsoc2013-epiphany-e65754da16f9af433cd90279b60855705855253a.zip |
e-embed-shell: remove the embed_shell global
https://bugzilla.gnome.org/show_bug.cgi?id=683614
Diffstat (limited to 'embed/ephy-download.c')
-rw-r--r-- | embed/ephy-download.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/embed/ephy-download.c b/embed/ephy-download.c index dc19b4589..792f5c1c7 100644 --- a/embed/ephy-download.c +++ b/embed/ephy-download.c @@ -715,7 +715,7 @@ ephy_download_dispose (GObject *object) priv->widget = NULL; } - ephy_embed_shell_remove_download (embed_shell, download); + ephy_embed_shell_remove_download (ephy_embed_shell_get_default (), download); G_OBJECT_CLASS (ephy_download_parent_class)->dispose (object); } @@ -955,7 +955,7 @@ download_finished_cb (WebKitDownload *wk_download, else ephy_download_do_download_action (download, priv->action); - ephy_embed_shell_remove_download (embed_shell, download); + ephy_embed_shell_remove_download (ephy_embed_shell_get_default (), download); } #else static void @@ -980,11 +980,11 @@ download_status_changed_cb (GObject *object, ephy_download_do_download_action (download, priv->action); } - ephy_embed_shell_remove_download (embed_shell, download); + ephy_embed_shell_remove_download (ephy_embed_shell_get_default (), download); } else if (status == WEBKIT_DOWNLOAD_STATUS_CANCELLED || status == WEBKIT_DOWNLOAD_STATUS_ERROR) { } else if (status == WEBKIT_DOWNLOAD_STATUS_STARTED) { - ephy_embed_shell_add_download (embed_shell, download); + ephy_embed_shell_add_download (ephy_embed_shell_get_default (), download); } } #endif @@ -1090,7 +1090,7 @@ ephy_download_new_for_download (WebKitDownload *download) #ifdef HAVE_WEBKIT2 /* In WebKit2 the download has already started */ - ephy_embed_shell_add_download (embed_shell, ephy_download); + ephy_embed_shell_add_download (ephy_embed_shell_get_default (), ephy_download); #endif return ephy_download; |