aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2005-01-20 02:33:46 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2005-01-20 02:33:46 +0800
commitc0574173e8918d32b30911aea6efb859b0a7ed81 (patch)
treea3dfffd2c48156ca0b6c04af8aff0706a3977f5a
parente2cd9bc08682c9656994a70e0154c4288ff93aab (diff)
downloadgsoc2013-evolution-c0574173e8918d32b30911aea6efb859b0a7ed81.tar.gz
gsoc2013-evolution-c0574173e8918d32b30911aea6efb859b0a7ed81.tar.zst
gsoc2013-evolution-c0574173e8918d32b30911aea6efb859b0a7ed81.zip
Increment i each time thru the loop or we lose widgets.
2005-01-19 Jeffrey Stedfast <fejj@novell.com> * em-folder-properties.c (emfp_get_folder_item): Increment i each time thru the loop or we lose widgets. svn path=/trunk/; revision=28452
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/em-account-editor.c3
-rw-r--r--mail/em-folder-properties.c1
3 files changed, 8 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index fec2c1c4a9..945a9f4f3a 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-19 Jeffrey Stedfast <fejj@novell.com>
+
+ * em-folder-properties.c (emfp_get_folder_item): Increment i each
+ time thru the loop or we lose widgets.
+
2005-01-19 Not Zed <NotZed@Ximian.com>
** See bug #66943.
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index 1b66eef5d2..8aeb86a99c 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -936,7 +936,8 @@ emae_url_set_hostport(CamelURL *url, const char *txt)
{
const char *port;
char *host;
-
+
+ /* FIXME: what if this was a raw IPv6 address? */
if (txt && (port = strchr(txt, ':'))) {
camel_url_set_port(url, atoi(port+1));
host = g_alloca(port-txt+1);
diff --git a/mail/em-folder-properties.c b/mail/em-folder-properties.c
index 78328db898..90c56cbfb6 100644
--- a/mail/em-folder-properties.c
+++ b/mail/em-folder-properties.c
@@ -201,6 +201,7 @@ emfp_get_folder_item(EConfig *ec, EConfigItem *item, struct _GtkWidget *parent,
row++;
l = l->next;
+ i++;
}
return table;