aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-11-15 12:38:31 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-11-15 12:38:31 +0800
commit73258ef76ff8c4a53a128bb1b219841d3431b818 (patch)
treeebdb065b41004607f3cff6bd7a823a03afc93117 /mail
parent9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91 (diff)
downloadgsoc2013-evolution-73258ef76ff8c4a53a128bb1b219841d3431b818.tar.gz
gsoc2013-evolution-73258ef76ff8c4a53a128bb1b219841d3431b818.tar.zst
gsoc2013-evolution-73258ef76ff8c4a53a128bb1b219841d3431b818.zip
Call camel_folder_info_new() instead of g_new0().
2007-11-14 Matthew Barnes <mbarnes@redhat.com> * mail/em-folder-tree.c (em_folder_tree_get_selected_folder_info): * plugins/exchange-operations/exchange-folder.c (ex_create_folder_info): Call camel_folder_info_new() instead of g_new0(). svn path=/trunk/; revision=34538
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/em-folder-tree.c2
2 files changed, 6 insertions, 1 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);