aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorTomas Popela <tpopela@redhat.com>2013-03-28 22:02:37 +0800
committerTomas Popela <tpopela@redhat.com>2013-03-28 22:02:37 +0800
commit2f1282d5700ed0ca2a1896a746c3c1d68ebadcb3 (patch)
tree31f07ab9a078495243619b427eae5952908afbdf /modules
parentb28ddcb4bd6cfb22e2e911f2ee1922e199d599ed (diff)
downloadgsoc2013-evolution-2f1282d5700ed0ca2a1896a746c3c1d68ebadcb3.tar
gsoc2013-evolution-2f1282d5700ed0ca2a1896a746c3c1d68ebadcb3.tar.gz
gsoc2013-evolution-2f1282d5700ed0ca2a1896a746c3c1d68ebadcb3.tar.bz2
gsoc2013-evolution-2f1282d5700ed0ca2a1896a746c3c1d68ebadcb3.tar.lz
gsoc2013-evolution-2f1282d5700ed0ca2a1896a746c3c1d68ebadcb3.tar.xz
gsoc2013-evolution-2f1282d5700ed0ca2a1896a746c3c1d68ebadcb3.tar.zst
gsoc2013-evolution-2f1282d5700ed0ca2a1896a746c3c1d68ebadcb3.zip
Fix for typing in ITIP comments when some keys triggered actions.
Diffstat (limited to 'modules')
-rw-r--r--modules/mail/e-mail-shell-view-private.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/mail/e-mail-shell-view-private.c b/modules/mail/e-mail-shell-view-private.c
index cf917f5251..6373e571a2 100644
--- a/modules/mail/e-mail-shell-view-private.c
+++ b/modules/mail/e-mail-shell-view-private.c
@@ -265,6 +265,8 @@ mail_shell_view_mail_display_needs_key (EMailDisplay *mail_display,
gchar *name = NULL;
frame = webkit_web_view_get_focused_frame (WEBKIT_WEB_VIEW (mail_display));
+ if (!frame)
+ return FALSE;
dom = webkit_web_frame_get_dom_document (frame);
/* intentionally used "static_cast" */
element = webkit_dom_html_document_get_active_element ((WebKitDOMHTMLDocument *) dom);