[balsa] Partial fixes for bug #589764, André Klapper
- From: Peter Bloomfield <PeterB src gnome org>
- To: svn-commits-list gnome org
- Subject: [balsa] Partial fixes for bug #589764, André Klapper
- Date: Sun, 26 Jul 2009 17:54:05 +0000 (UTC)
commit 9610b02bc9e116da0059fdf284b722080d7f200a
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Sun Jul 26 13:30:12 2009 -0400
Partial fixes for bug #589764, André Klapper
ChangeLog | 9 +++++++++
libbalsa/imap/pop3.c | 2 +-
src/quote-color.c | 2 +-
3 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 5490a33..51780f4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2009-07-26 Peter Bloomfield
+ Partial fixes for bug #589764, André Klapper.
+
+ * libbalsa/imap/pop3.c (pop_authenticate): use
+ g_ascii_strncasecmp.
+ * src/quote-color.c (allocate_quote_colors): remove
+ "gdk_color_black" from comment.
+
+2009-07-26 Peter Bloomfield
+
* src/sendmsg-window.c: do not include gnome.h.
2009-07-26 Peter Bloomfield
diff --git a/libbalsa/imap/pop3.c b/libbalsa/imap/pop3.c
index ceed404..8eb5237 100644
--- a/libbalsa/imap/pop3.c
+++ b/libbalsa/imap/pop3.c
@@ -391,7 +391,7 @@ pop_authenticate(PopHandle *pop, const char *greeting, GError **err)
const PopAuthenticator *authenticator;
ImapResult r;
- if(g_strncasecmp(greeting, "+OK", 3) != 0) {
+ if(g_ascii_strncasecmp(greeting, "+OK", 3) != 0) {
g_set_error(err, IMAP_ERROR, IMAP_POP_AUTH_ERROR,
"Server does not welcome us: %s", greeting);
return FALSE;
diff --git a/src/quote-color.c b/src/quote-color.c
index a76f332..3569655 100644
--- a/src/quote-color.c
+++ b/src/quote-color.c
@@ -97,7 +97,7 @@ allocate_quote_colors(GtkWidget * widget, GdkColor color[],
for (i = first; i <= last; i++) {
if (!gdk_colormap_alloc_color(balsa_app.colormap,
&color[i], FALSE, TRUE)) {
- /* gdk_color_black(balsa_app.colormap, &color[i]); */
+ /* Use black instead: */
color[i].red = color[i].green = color[i].blue = 0;
gdk_colormap_alloc_color(balsa_app.colormap, &color[i], FALSE,
TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]