aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/em-folder-tree.c2
-rw-r--r--plugins/exchange-operations/ChangeLog5
-rw-r--r--plugins/exchange-operations/exchange-folder.c2
4 files changed, 12 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 43c5c12909..91c336d06c 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-14 Matthew Barnes <mbarnes@redhat.com>
+
+ * em-folder-tree.c (em_folder_tree_get_selected_folder_info):
+ Call camel_folder_info_new() instead of g_new0().
+
2007-11-13 Milan Crha <mcrha@redhat.com>
** Fix for bug #263236
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index adf8616755..ee33c575cb 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -2547,7 +2547,7 @@ em_folder_tree_get_selected_folder_info (EMFolderTree *emft)
COL_STRING_DISPLAY_NAME, &name,
COL_STRING_URI, &uri, -1);
- fi = g_new0(CamelFolderInfo, 1);
+ fi = camel_folder_info_new ();
fi->full_name = g_strdup (full_name);
fi->uri = g_strdup (uri);
fi->name = g_strdup (name);
diff --git a/plugins/exchange-operations/ChangeLog b/plugins/exchange-operations/ChangeLog
index 9f4513eb46..e41100484f 100644
--- a/plugins/exchange-operations/ChangeLog
+++ b/plugins/exchange-operations/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-14 Matthew Barnes <mbarnes@redhat.com>
+
+ * exchange-folder.c (ex_create_folder_info):
+ Call camel_folder_info_new() instead of g_new0().
+
2007-10-26 Kjartan Maraas <kmaraas@gnome.org>
* exchange-account-setup.c: (org_gnome_exchange_settings),
diff --git a/plugins/exchange-operations/exchange-folder.c b/plugins/exchange-operations/exchange-folder.c
index db2dc0e475..879e4ded28 100644
--- a/plugins/exchange-operations/exchange-folder.c
+++ b/plugins/exchange-operations/exchange-folder.c
@@ -159,7 +159,7 @@ ex_create_folder_info (CamelStore *store, char *name, char *uri,
if (!path)
return NULL;
- info = g_new0 (CamelFolderInfo, 1);
+ info = camel_folder_info_new ();
info->name = name;
info->uri = uri;
info->full_name = g_strdup (path + 1);