aboutsummaryrefslogtreecommitdiffstats
path: root/mail/main.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-03-01 08:58:16 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-03-01 08:58:16 +0800
commitf01589262ca132b980bb067e5aa6fbaee8fd3579 (patch)
treeb0cfe93753569c33cad150331342025fd98bcd76 /mail/main.c
parentefa31cf176b236410e88a11b33bbfec5160e2c81 (diff)
downloadgsoc2013-evolution-f01589262ca132b980bb067e5aa6fbaee8fd3579.tar
gsoc2013-evolution-f01589262ca132b980bb067e5aa6fbaee8fd3579.tar.gz
gsoc2013-evolution-f01589262ca132b980bb067e5aa6fbaee8fd3579.tar.bz2
gsoc2013-evolution-f01589262ca132b980bb067e5aa6fbaee8fd3579.tar.lz
gsoc2013-evolution-f01589262ca132b980bb067e5aa6fbaee8fd3579.tar.xz
gsoc2013-evolution-f01589262ca132b980bb067e5aa6fbaee8fd3579.tar.zst
gsoc2013-evolution-f01589262ca132b980bb067e5aa6fbaee8fd3579.zip
Fixes for changes to search bar. (search_save): Removed. (search_full):
2001-03-01 Not Zed <NotZed@Ximian.com> * folder-browser.c (folder_browser_search_menu_activated): Fixes for changes to search bar. (search_save): Removed. (search_full): Removed. (search_full_clicked): Removed. (folder_browser_search_option_items[]): Removed. (folder_browser_search_query_changed): Changed for search bar changes. (folder_browser_clear_search): Removed. * mail-vfolder.c (vfolder_clone_rule): New function to clone a filter/search rule into a matching vfolder rule. * mail-send-recv.c (mail_receive_uri): Setup a timeout for status updates. (build_dialogue): Setup timeout id for status updates. (operation_status_timeout): New function to set the status via a timeout. (receive_done): Remove the timeout handler if we need to. (operation_status): (receive_status): Just update the info, and let the timeout handler update the gui. (do_free_status): (do_show_status): Removed gui thread status message processing. 2001-02-28 Not Zed <NotZed@Ximian.com> * folder-browser.c (folder_browser_config_search): New function to configure the FilterRule for the search mechanism. 2001-02-27 Not Zed <NotZed@Ximian.com> * folder-browser.c (folder_browser_gui_init): Setup the search bar as a filterbar. (got_folder): Set the whole search bar sensitive or not based on the search capability of the folder. * folder-browser.h: Changed to use efilterbar instead of esearchbar. svn path=/trunk/; revision=8438
Diffstat (limited to 'mail/main.c')
-rw-r--r--mail/main.c18
1 files changed, 15 insertions, 3 deletions
diff --git a/mail/main.c b/mail/main.c
index 8da4c9420b..5900ee5625 100644
--- a/mail/main.c
+++ b/mail/main.c
@@ -32,10 +32,22 @@
#include "mail-mt.h"
#include "mail-vtrash.h"
-#if 0
+/*#define DO_MCHECK*/
+
+#ifdef DO_MCHECK
static int blowup(int status)
{
- printf("memory blew up, status %d\n", status);
+ switch(status) {
+ case 1:
+ printf("Double free failure\n");
+ break;
+ case 2:
+ printf("Memory clobbered before block\n");
+ break;
+ case 3:
+ printf("Memory clobbered after block\n");
+ break;
+ }
abort();
return status;
}
@@ -63,7 +75,7 @@ main (int argc, char *argv [])
CORBA_ORB orb;
struct sigaction sa, osa;
-#if 0
+#ifdef DO_MCHECK
/* used to make elfence work */
#if 0
free (malloc (10));