aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-08-07 17:35:42 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-08-07 17:35:42 +0800
commit478f23e3d07098620e2dc41737cc6b219dd40431 (patch)
tree5594062707d4b57603d9f063f5fbf7ba59068f5a
parent2574884bdd9ea8d1a04f6e4abaf914422c30e66b (diff)
downloadgsoc2013-evolution-478f23e3d07098620e2dc41737cc6b219dd40431.tar.gz
gsoc2013-evolution-478f23e3d07098620e2dc41737cc6b219dd40431.tar.zst
gsoc2013-evolution-478f23e3d07098620e2dc41737cc6b219dd40431.zip
** Fix for bug #419690
svn path=/trunk/; revision=33964
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/message-list.c2
-rw-r--r--widgets/table/ChangeLog8
-rw-r--r--widgets/table/e-tree-table-adapter.c2
4 files changed, 18 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 2402209ee2..08eda88d90 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2007-08-07 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fix for bug #419690
+
+ * message-list.c: (message_list_construct): FALSE isn't really equal
+ to NULL.
+
2007-08-03 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #463061
diff --git a/mail/message-list.c b/mail/message-list.c
index 9f3c1f343d..ab170cb797 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -2294,7 +2294,7 @@ message_list_construct (MessageList *message_list)
message_list->extras,
etspecfile,
NULL)
- == NULL);
+ == FALSE);
g_free (etspecfile);
message_list->tree = e_tree_scrolled_get_tree(E_TREE_SCROLLED (message_list));
diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog
index d15259e01d..9e20e61e2f 100644
--- a/widgets/table/ChangeLog
+++ b/widgets/table/ChangeLog
@@ -1,3 +1,11 @@
+2007-08-07 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fix for bug #419690
+
+ * e-tree-table-adapter.c:
+ (e_tree_table_adapter_root_node_set_visible): Add protection around
+ etta.
+
2007-08-07 Milan Crha <mcrha@redhat.com>
** Fix for bug #463946
diff --git a/widgets/table/e-tree-table-adapter.c b/widgets/table/e-tree-table-adapter.c
index 86e46b3121..255dbed5fe 100644
--- a/widgets/table/e-tree-table-adapter.c
+++ b/widgets/table/e-tree-table-adapter.c
@@ -1081,6 +1081,8 @@ e_tree_table_adapter_root_node_set_visible (ETreeTableAdapter *etta, gboolean vi
{
int size;
+ g_return_if_fail (etta != NULL);
+
if (etta->priv->root_visible == visible)
return;