aboutsummaryrefslogtreecommitdiffstats
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
parent9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91 (diff)
downloadgsoc2013-evolution-73258ef76ff8c4a53a128bb1b219841d3431b818.tar
gsoc2013-evolution-73258ef76ff8c4a53a128bb1b219841d3431b818.tar.gz
gsoc2013-evolution-73258ef76ff8c4a53a128bb1b219841d3431b818.tar.bz2
gsoc2013-evolution-73258ef76ff8c4a53a128bb1b219841d3431b818.tar.lz
gsoc2013-evolution-73258ef76ff8c4a53a128bb1b219841d3431b818.tar.xz
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
-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);