From 187f4c8b0c9ada3c5c0362ebc23cbef0f7987955 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 26 Jun 2000 16:02:06 +0000 Subject: commenting out of some GDK_THREADS_*() junk that was causing a lock also fixed an assignment problem (var = void) in mail-config.c svn path=/trunk/; revision=3738 --- mail/ChangeLog | 5 +++++ mail/folder-browser.c | 4 +++- mail/mail-config.c | 2 +- mail/mail-threads.c | 4 ++-- 4 files changed, 11 insertions(+), 4 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 90d5f5d9ed..7ee2d3492f 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-06-26 Jeffrey Stedfast + + * mail-config.c (error_dialog): va_start() returns void, don't + assign it's retval to a variable. + 2000-06-26 Ettore Perazzoli * main.c (main): Call `GDK_THREADS_ENTER()' and diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 17b7df578c..61378cd0c2 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -119,7 +119,9 @@ folder_browser_load_folder (FolderBrowser *fb, const char *name) if (*ptr == '/') { if (url && url->path) { fprintf (stderr, "namespace = %s\n", url->path + 1); - ptr += strlen (url->path) + 1; + ptr += strlen (url->path); + if (*ptr == '/') + ptr++; } if (*ptr == '/') diff --git a/mail/mail-config.c b/mail/mail-config.c index 56ed19824a..8b1f89bf5f 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -163,7 +163,7 @@ error_dialog (GtkWidget *parent_finder, const char *fmt, ...) parent = gtk_widget_get_ancestor (parent_finder, GTK_TYPE_WINDOW); - ap = va_start (ap, fmt); + va_start (ap, fmt); msg = g_strdup_vprintf (fmt, ap); va_end (ap); diff --git a/mail/mail-threads.c b/mail/mail-threads.c index 0905c401f5..949c9c4a7c 100644 --- a/mail/mail-threads.c +++ b/mail/mail-threads.c @@ -576,9 +576,9 @@ static void *dispatch_func( void *data ) msg.message = clur->prettyname; write( WRITER, &msg, sizeof( msg ) ); - GDK_THREADS_ENTER (); + /*GDK_THREADS_ENTER ();*/ (clur->callback)( clur->data ); - GDK_THREADS_LEAVE (); + /*GDK_THREADS_LEAVE ();*/ msg.type = FINISHED; msg.func = clur->cleanup; /* NULL is ok */ -- cgit v1.2.3