aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail/e-mail-shell-view-actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mail/e-mail-shell-view-actions.c')
-rw-r--r--modules/mail/e-mail-shell-view-actions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mail/e-mail-shell-view-actions.c b/modules/mail/e-mail-shell-view-actions.c
index adb288d8fb..9c79164a35 100644
--- a/modules/mail/e-mail-shell-view-actions.c
+++ b/modules/mail/e-mail-shell-view-actions.c
@@ -681,7 +681,7 @@ action_mail_smart_backward_cb (GtkAction *action,
html = EM_FORMAT_HTML (html_display)->html;
- if (gtk_html_command (html, "scroll-backward"))
+ if (e_web_view_scroll_backward (E_WEB_VIEW (html)))
return;
if (caret_mode || !magic_spacebar)
@@ -744,7 +744,7 @@ action_mail_smart_forward_cb (GtkAction *action,
html = EM_FORMAT_HTML (html_display)->html;
- if (gtk_html_command (html, "scroll-forward"))
+ if (e_web_view_scroll_forward (E_WEB_VIEW (html)))
return;
if (caret_mode || !magic_spacebar)