From 207a1395e10cbce4f9ec3baa33a649fb9a151a27 Mon Sep 17 00:00:00 2001 From: bertrand Date: Wed, 8 Mar 2000 19:53:31 +0000 Subject: plug mem leaks due to bad documentation of 2000-03-07 bertrand * 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 --- shell/e-shell-shortcut.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'shell') 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); -- cgit v1.2.3