diff options
author | Milan Crha <mcrha@redhat.com> | 2014-07-21 21:53:32 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2014-07-21 21:53:32 +0800 |
commit | 8d2e1340cf46d0e630448c5f9fe4ed02229cd06b (patch) | |
tree | a48affaa26ff0fffcf8037055cd560ae06c00ac8 /calendar/gui/dialogs/comp-editor-util.c | |
parent | fc55dedaf1c3d00d6b4e117d988f2bafe2ca791f (diff) | |
download | gsoc2013-evolution-8d2e1340cf46d0e630448c5f9fe4ed02229cd06b.tar gsoc2013-evolution-8d2e1340cf46d0e630448c5f9fe4ed02229cd06b.tar.gz gsoc2013-evolution-8d2e1340cf46d0e630448c5f9fe4ed02229cd06b.tar.bz2 gsoc2013-evolution-8d2e1340cf46d0e630448c5f9fe4ed02229cd06b.tar.lz gsoc2013-evolution-8d2e1340cf46d0e630448c5f9fe4ed02229cd06b.tar.xz gsoc2013-evolution-8d2e1340cf46d0e630448c5f9fe4ed02229cd06b.tar.zst gsoc2013-evolution-8d2e1340cf46d0e630448c5f9fe4ed02229cd06b.zip |
e_day_view_show_popup_menu: Avoid runtime warning from tooltip_get_view_event
The e_day_view_show_popup_menu() can be called with event_num = -1,
which is when the mouse doesn't hover above any event. The function
tooltip_get_view_event() claims a runtime warning in this case, thus
avoid it by properly testing the passed-in value.
Diffstat (limited to 'calendar/gui/dialogs/comp-editor-util.c')
0 files changed, 0 insertions, 0 deletions