balsa r7866 - in trunk: . libbalsa/imap src
- From: PeterB svn gnome org
- To: svn-commits-list gnome org
- Subject: balsa r7866 - in trunk: . libbalsa/imap src
- Date: Sun, 24 Feb 2008 14:44:58 +0000 (GMT)
Author: PeterB
Date: Sun Feb 24 14:44:58 2008
New Revision: 7866
URL: http://svn.gnome.org/viewvc/balsa?rev=7866&view=rev
Log:
compile with gcc-4.3
Modified:
trunk/ChangeLog
trunk/libbalsa/imap/imap-handle.c
trunk/src/main.c
Modified: trunk/libbalsa/imap/imap-handle.c
==============================================================================
--- trunk/libbalsa/imap/imap-handle.c (original)
+++ trunk/libbalsa/imap/imap-handle.c Sun Feb 24 14:44:58 2008
@@ -1355,6 +1355,7 @@
return g_string_free(res, FALSE);
}
+#if 0
static void
do_indent(int indent)
{ int i; for(i=0; i<indent; i++) putchar(' '); }
@@ -1370,6 +1371,7 @@
body = body->next;
}
}
+#endif
static ImapBody*
get_body_from_section(ImapBody *body, const char *section)
@@ -3619,7 +3621,7 @@
char atom[LONG_STRING]; /* make sure LONG_STRING is longer than all */
/* strings above */
unsigned i;
- int c;
+ int c = 0;
ImapResponse rc;
if(seqno<1 || seqno > h->exists) return IMR_PROTOCOL;
Modified: trunk/src/main.c
==============================================================================
--- trunk/src/main.c (original)
+++ trunk/src/main.c Sun Feb 24 14:44:58 2008
@@ -135,7 +135,7 @@
static void
balsa_handle_automation_options() {
CORBA_Object factory;
- CORBA_Environment ev;
+ CORBA_Environment ev, *ev_p = &ev;
BonoboObject *balsacomposer;
BonoboObject *balsaapp;
@@ -146,7 +146,7 @@
Bonobo_ACTIVATION_FLAG_EXISTING_ONLY,
NULL, &ev);
- if ( !(BONOBO_EX (&ev) || factory == CORBA_OBJECT_NIL) ) {
+ if ( !(BONOBO_EX (ev_p) || factory == CORBA_OBJECT_NIL) ) {
/* there already is a server. good */
CORBA_Object app;
printf("Another Balsa found. Talking to it...\n");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]