diff options
author | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-02-06 04:28:09 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-02-06 04:28:09 +0800 |
commit | 768eae4a4874a7fe0eada98423f61d84f6416bde (patch) | |
tree | 707977820ddbc47121fb107c8569cbb5bb2ef566 /src/prefs-dialog.c | |
parent | 4e522c23a0650605cf8270f381ca10f2f35bbf78 (diff) | |
download | gsoc2013-epiphany-768eae4a4874a7fe0eada98423f61d84f6416bde.tar.gz gsoc2013-epiphany-768eae4a4874a7fe0eada98423f61d84f6416bde.tar.zst gsoc2013-epiphany-768eae4a4874a7fe0eada98423f61d84f6416bde.zip |
*** empty log message ***
Diffstat (limited to 'src/prefs-dialog.c')
-rw-r--r-- | src/prefs-dialog.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c index 438cd900e..1d7bb34ee 100644 --- a/src/prefs-dialog.c +++ b/src/prefs-dialog.c @@ -318,18 +318,22 @@ void prefs_clear_memory_cache_button_clicked_cb (GtkWidget *button, gpointer data) { - EphyEmbedShell *shell; + EphyEmbedSingle *single; - shell = EPHY_EMBED_SHELL (ephy_shell); - ephy_embed_shell_clear_cache (shell, MEMORY_CACHE); + single = ephy_embed_shell_get_embed_single + (EPHY_EMBED_SHELL (ephy_shell)); + + ephy_embed_single_clear_cache (single, MEMORY_CACHE); } void prefs_clear_disk_cache_button_clicked_cb (GtkWidget *button, gpointer data) { - EphyEmbedShell *shell; + EphyEmbedSingle *single; + + single = ephy_embed_shell_get_embed_single + (EPHY_EMBED_SHELL (ephy_shell)); - shell = EPHY_EMBED_SHELL (ephy_shell); - ephy_embed_shell_clear_cache (shell, DISK_CACHE); + ephy_embed_single_clear_cache (single, DISK_CACHE); } |