balsa r8083 - in trunk: . libbalsa libbalsa/imap src
- From: pawels svn gnome org
- To: svn-commits-list gnome org
- Subject: balsa r8083 - in trunk: . libbalsa libbalsa/imap src
- Date: Sat, 21 Feb 2009 22:52:58 +0000 (UTC)
Author: pawels
Date: Sat Feb 21 22:52:58 2009
New Revision: 8083
URL: http://svn.gnome.org/viewvc/balsa?rev=8083&view=rev
Log:
* libbalsa/files.c:
* src/balsa-index.c: build against oldish gtk/gnome.
* libbalsa/rfc2445.c: with gcc-3.x
* libbalsa/imap/imap-commands.c: lock the handle when issuing
asynchronous EXPUNGE.
Modified:
trunk/ChangeLog
trunk/libbalsa/files.c
trunk/libbalsa/imap/imap-commands.c
trunk/libbalsa/rfc2445.c
trunk/src/balsa-index.c
Modified: trunk/libbalsa/files.c
==============================================================================
--- trunk/libbalsa/files.c (original)
+++ trunk/libbalsa/files.c Sat Feb 21 22:52:58 2009
@@ -145,6 +145,9 @@
const gchar * filename = NULL;
#if HAVE_GIO || HAVE_GNOME
GtkIconTheme *icon_theme;
+#ifdef HAVE_GNOME_VFS
+ const gchar *icon_file;
+#endif
#endif
if (!gtk_icon_size_lookup(size, &width, &height))
Modified: trunk/libbalsa/imap/imap-commands.c
==============================================================================
--- trunk/libbalsa/imap/imap-commands.c (original)
+++ trunk/libbalsa/imap/imap-commands.c Sat Feb 21 22:52:58 2009
@@ -692,11 +692,15 @@
ImapResponse
imap_mbox_expunge_a(ImapMboxHandle *handle)
{
+ ImapResponse rc;
IMAP_REQUIRED_STATE2(handle,IMHS_AUTHENTICATED, IMHS_SELECTED, IMR_BAD);
/* extra care would be required to use this once since no other
commands that use sequence numbers can be issued before this one
finishes... */
- return imap_cmd_issue(handle, "EXPUNGE");
+ HANDLE_LOCK(handle);
+ rc = imap_cmd_issue(handle, "EXPUNGE");
+ HANDLE_UNLOCK(handle);
+ return rc;
}
/* 6.4.4 SEARCH Command */
Modified: trunk/libbalsa/rfc2445.c
==============================================================================
--- trunk/libbalsa/rfc2445.c (original)
+++ trunk/libbalsa/rfc2445.c Sat Feb 21 22:52:58 2009
@@ -22,6 +22,7 @@
#include "config.h"
#include <stdlib.h>
+#include <string.h>
#include <glib.h>
#include <glib/gi18n.h>
#include <glib-object.h>
Modified: trunk/src/balsa-index.c
==============================================================================
--- trunk/src/balsa-index.c (original)
+++ trunk/src/balsa-index.c Sat Feb 21 22:52:58 2009
@@ -2437,7 +2437,7 @@
int std_input;
int std_output;
int std_error;
- guint msgno;
+ guint msgno = 0;
while(queue->msgnos->len>0){
msgno = g_array_index(queue->msgnos, guint, queue->msgnos->len-1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]