[evolution-patches] fix for bug #42120



just needed to swap the return values

-- 
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com  - www.ximian.com
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.2711
diff -u -r1.2711 ChangeLog
--- ChangeLog	30 Apr 2003 03:08:46 -0000	1.2711
+++ ChangeLog	1 May 2003 01:22:21 -0000
@@ -1,3 +1,8 @@
+2003-04-30  Jeffrey Stedfast  <fejj ximian com>
+
+	* message-list.c (ml_tree_value_at): Fixed to return the correct
+	values (swapped) in order to fix bug #42120.
+
 2003-04-29  Jeremy Katz  <katzj redhat com>
 
 	* folder-browser-ui.c (fbui_sensitise_item): Don't just blindly
Index: message-list.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/message-list.c,v
retrieving revision 1.338
diff -u -r1.338 message-list.c
--- message-list.c	29 Apr 2003 18:18:36 -0000	1.338
+++ message-list.c	1 May 2003 01:22:21 -0000
@@ -902,9 +902,9 @@
 		child = e_tree_model_node_get_first_child(etm, path);
 		if (child && !e_tree_node_is_expanded(message_list->tree, path)) {
 			if (subtree_unread(message_list, child))
-				return (void *)3;
+				return GINT_TO_POINTER (4);
 			else
-				return (void *)4;
+				return GINT_TO_POINTER (3);
 		}
 		
 		if (msg_info->flags & CAMEL_MESSAGE_ANSWERED)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]