balsa r7934 - in trunk: . src



Author: PeterB
Date: Sun Jun  1 20:16:06 2008
New Revision: 7934
URL: http://svn.gnome.org/viewvc/balsa?rev=7934&view=rev

Log:
dead code

Modified:
   trunk/ChangeLog
   trunk/src/balsa-message.c
   trunk/src/balsa-message.h
   trunk/src/balsa-mime-widget-message.c

Modified: trunk/src/balsa-message.c
==============================================================================
--- trunk/src/balsa-message.c	(original)
+++ trunk/src/balsa-message.c	Sun Jun  1 20:16:06 2008
@@ -752,7 +752,6 @@
 
     bm->wrap_text = balsa_app.browse_wrap;
     bm->shown_headers = balsa_app.shown_headers;
-    bm->show_all_headers = FALSE;
     bm->close_with_msg = FALSE;
 
     gtk_widget_show_all(GTK_WIDGET(bm));

Modified: trunk/src/balsa-message.h
==============================================================================
--- trunk/src/balsa-message.h	(original)
+++ trunk/src/balsa-message.h	Sun Jun  1 20:16:06 2008
@@ -57,7 +57,6 @@
 
 	/* header-related information */
 	ShownHeaders shown_headers;
-	gboolean show_all_headers;
 
 	/* Widgets to hold content */
         GtkWidget *cont_viewport;

Modified: trunk/src/balsa-mime-widget-message.c
==============================================================================
--- trunk/src/balsa-mime-widget-message.c	(original)
+++ trunk/src/balsa-mime-widget-message.c	Sun Jun  1 20:16:06 2008
@@ -541,7 +541,7 @@
     GtkTextIter insert;
     gboolean truncated = FALSE;
 
-    if (!(bm->show_all_headers || bm->shown_headers == HEADERS_ALL ||
+    if (!(bm->shown_headers == HEADERS_ALL ||
 	  libbalsa_find_word(header, balsa_app.selected_headers)))
 	return;
 
@@ -619,7 +619,7 @@
     if (list == NULL)
 	return;
 
-    if (!(bm->show_all_headers || bm->shown_headers == HEADERS_ALL ||
+    if (!(bm->shown_headers == HEADERS_ALL ||
 	  libbalsa_find_word(header, balsa_app.selected_headers)))
 	return;
 
@@ -675,7 +675,7 @@
     gtk_text_buffer_set_text(buffer, "", 0);
     g_return_if_fail(headers);
 
-    if (!bm->show_all_headers && bm->shown_headers == HEADERS_NONE) {
+    if (bm->shown_headers == HEADERS_NONE) {
 	gtk_widget_hide(widget);
 	return;
     } else



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