diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-05-31 11:03:41 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-05-31 11:05:14 +0800 |
commit | 6640519e4863961fa146fbc198709986dc5bb902 (patch) | |
tree | d22fd3dd028c19c060f1989f552a12a0412e98a2 /modules/mail/e-mail-shell-view-private.c | |
parent | fb880ceb4f95bce331fe49b26bba5eec0757f07f (diff) | |
download | gsoc2013-evolution-6640519e4863961fa146fbc198709986dc5bb902.tar.gz gsoc2013-evolution-6640519e4863961fa146fbc198709986dc5bb902.tar.zst gsoc2013-evolution-6640519e4863961fa146fbc198709986dc5bb902.zip |
Use EWebView functions whenever possible.
Diffstat (limited to 'modules/mail/e-mail-shell-view-private.c')
-rw-r--r-- | modules/mail/e-mail-shell-view-private.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/mail/e-mail-shell-view-private.c b/modules/mail/e-mail-shell-view-private.c index 8a45c4b853..42394b2f53 100644 --- a/modules/mail/e-mail-shell-view-private.c +++ b/modules/mail/e-mail-shell-view-private.c @@ -268,10 +268,13 @@ mail_shell_view_scroll_cb (EMailShellView *mail_shell_view, EShellWindow *shell_window; EShellSettings *shell_settings; EMailReader *reader; + EWebView *web_view; GtkWidget *message_list; gboolean magic_spacebar; - if (html->binding_handled || gtk_html_get_caret_mode (html)) + web_view = E_WEB_VIEW (html); + + if (html->binding_handled || e_web_view_get_caret_mode (web_view)) return; if (orientation != GTK_ORIENTATION_VERTICAL) |