aboutsummaryrefslogtreecommitdiffstats
path: root/src/prefs-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/prefs-dialog.c')
-rw-r--r--src/prefs-dialog.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index f8d699e59..06d5ea77a 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -441,8 +441,7 @@ setup_font_combo (EphyDialog *dialog,
char key[255];
EphyEmbedSingle *single;
- single = ephy_embed_shell_get_embed_single
- (EPHY_EMBED_SHELL (ephy_shell));
+ single = EPHY_EMBED_SINGLE (ephy_embed_shell_get_embed_single (embed_shell));
fonts = ephy_embed_single_get_font_list (single, code);
g_snprintf (key, 255, "%s_%s_%s", CONF_RENDERING_FONT, type, code);
@@ -1230,9 +1229,7 @@ prefs_clear_cache_button_clicked_cb (GtkWidget *button,
{
EphyEmbedSingle *single;
- single = ephy_embed_shell_get_embed_single
- (EPHY_EMBED_SHELL (ephy_shell));
-
+ single = EPHY_EMBED_SINGLE (ephy_embed_shell_get_embed_single (embed_shell));
ephy_embed_single_clear_cache (single);
}