aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorbertrand <bertrand@helixcode.com>2000-03-09 03:53:31 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-03-09 03:53:31 +0800
commit207a1395e10cbce4f9ec3baa33a649fb9a151a27 (patch)
tree385a02f3528a4b582c38af77c9c98f44032514a5 /shell
parent13edeabcd2978c1e7febe005cd3fb2f19c55edc1 (diff)
downloadgsoc2013-evolution-207a1395e10cbce4f9ec3baa33a649fb9a151a27.tar.gz
gsoc2013-evolution-207a1395e10cbce4f9ec3baa33a649fb9a151a27.tar.zst
gsoc2013-evolution-207a1395e10cbce4f9ec3baa33a649fb9a151a27.zip
plug mem leaks due to bad documentation of
2000-03-07 bertrand <bertrand@helixcode.com> * camel-formatter.c (handle_mime_part): plug mem leaks due to bad documentation of camel_content_field_get_mime_type (print_camel_body_part): idem (handle_multipart_alternative): idem * gmime-content-field.c (gmime_content_field_get_mime_type): documentation fix. * camel-mime-part.c (my_finalize): unref the content_input_stream if any. * shell/e-shell-shortcut.c (shortcut_bar_item_selected): removed a test that prevented the standard menu to be shown. svn path=/trunk/; revision=2089
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell-shortcut.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/e-shell-shortcut.c b/shell/e-shell-shortcut.c
index 56671dccd3..6ac3fc9e1c 100644
--- a/shell/e-shell-shortcut.c
+++ b/shell/e-shell-shortcut.c
@@ -299,9 +299,7 @@ shortcut_bar_item_selected (EShortcutBar *e_shortcut_bar,
return;
shortcut = e_shortcut_from_pos (shortcut_group, item_num);
-
- if (shortcut == NULL)
- return;
+
if (event->button.button == 1) {
e_shell_view_set_view (eshell_view, shortcut->efolder);