aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-05-31 11:03:41 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-05-31 11:05:14 +0800
commit6640519e4863961fa146fbc198709986dc5bb902 (patch)
treed22fd3dd028c19c060f1989f552a12a0412e98a2 /modules
parentfb880ceb4f95bce331fe49b26bba5eec0757f07f (diff)
downloadgsoc2013-evolution-6640519e4863961fa146fbc198709986dc5bb902.tar
gsoc2013-evolution-6640519e4863961fa146fbc198709986dc5bb902.tar.gz
gsoc2013-evolution-6640519e4863961fa146fbc198709986dc5bb902.tar.bz2
gsoc2013-evolution-6640519e4863961fa146fbc198709986dc5bb902.tar.lz
gsoc2013-evolution-6640519e4863961fa146fbc198709986dc5bb902.tar.xz
gsoc2013-evolution-6640519e4863961fa146fbc198709986dc5bb902.tar.zst
gsoc2013-evolution-6640519e4863961fa146fbc198709986dc5bb902.zip
Use EWebView functions whenever possible.
Diffstat (limited to 'modules')
-rw-r--r--modules/mail/e-mail-shell-view-private.c5
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)