diff options
author | Tomas Popela <tpopela@redhat.com> | 2013-03-28 20:03:09 +0800 |
---|---|---|
committer | Tomas Popela <tpopela@redhat.com> | 2013-03-28 20:03:09 +0800 |
commit | 8c2472645ff9495eb98ca10217a3cfd19c991888 (patch) | |
tree | fe9bd95c1531b3a7f5db5e32495c00b70525188f /modules/mail | |
parent | 4c5e629f518fa03610e69c970337d9f7d625a50b (diff) | |
download | gsoc2013-evolution-8c2472645ff9495eb98ca10217a3cfd19c991888.tar gsoc2013-evolution-8c2472645ff9495eb98ca10217a3cfd19c991888.tar.gz gsoc2013-evolution-8c2472645ff9495eb98ca10217a3cfd19c991888.tar.bz2 gsoc2013-evolution-8c2472645ff9495eb98ca10217a3cfd19c991888.tar.lz gsoc2013-evolution-8c2472645ff9495eb98ca10217a3cfd19c991888.tar.xz gsoc2013-evolution-8c2472645ff9495eb98ca10217a3cfd19c991888.tar.zst gsoc2013-evolution-8c2472645ff9495eb98ca10217a3cfd19c991888.zip |
Fix for typing in ITIP comments when some keys triggered actions.
Diffstat (limited to 'modules/mail')
-rw-r--r-- | modules/mail/e-mail-shell-view-private.c | 2 |
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); |