CVS: sylpheedclaws/sylpheed-claws/src summaryview.c,1.395.2.212,1.395.2.213

[email protected]
Newsgroups gmane.mail.sylpheed.claws.cvs
Message-ID <[email protected]>
Update of /pack/anoncvs/sylpheedclaws/sylpheed-claws/src
In directory sunsite.dk:/tmp/cvs-serv6894/src

Modified Files:
      Tag: gtk2
	summaryview.c 
Log Message:
2006-05-29 [colin]	2.2.0cvs66

	* src/summaryview.c
		Remove useless g_warnings

Index: summaryview.c
===================================================================
RCS file: /pack/anoncvs/sylpheedclaws/sylpheed-claws/src/summaryview.c,v
retrieving revision 1.395.2.212
retrieving revision 1.395.2.213
diff -u -d -r1.395.2.212 -r1.395.2.213
--- summaryview.c	2006/05/29 16:42:26	1.395.2.212
+++ summaryview.c	2006/05/29 20:12:18	1.395.2.213
@@ -2028,12 +2028,9 @@
 		msginfo = gtk_ctree_node_get_row_data
 			(GTK_CTREE(summaryview->ctree),
 			 GTK_CTREE_NODE(cur->data));
-		if (!msginfo)
-			g_warning("summary_status_show(): msginfo == NULL\n");
-		else {
+		if (msginfo) {
 			sel_size += msginfo->size;
 			n_selected++;
-			
 		}
 	}
 	
@@ -2044,9 +2041,7 @@
 			msginfo = gtk_ctree_node_get_row_data
 				(GTK_CTREE(summaryview->ctree),
 				 GTK_CTREE_NODE(cur));
-			if (!msginfo)
-				g_warning("summary_status_show(): msginfo == NULL\n");
-			else {
+			if (msginfo) {
 				n_size += msginfo->size;
 				n_total++;
 				if (MSG_IS_NEW(msginfo->flags))


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.