Cleanup a mess i add before commiting
authorChristoph Hohmann <reboot@gmx.ch>
Tue, 13 Nov 2001 20:35:41 +0000 (20:35 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Tue, 13 Nov 2001 20:35:41 +0000 (20:35 +0000)
ChangeLog.claws
configure.in
src/compose.c

index 8dfd077..85cbb89 100644 (file)
@@ -1,4 +1,9 @@
-2001-11-13 [hoa] 0.6.5claws10
+2001-11-13 [christoph] 0.6.5claws11
+
+       * src/compose.c
+               Cleanup a mess i add before commiting
+
+2001-11-13 [hoa]       0.6.5claws10
 
        * src/compose.c
                some fixes when mail are sent or
index 174fee1..0ca29c9 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=6
 MICRO_VERSION=5
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws10
+EXTRA_VERSION=claws11
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl
index d0b430f..d37c050 100644 (file)
@@ -3163,10 +3163,6 @@ static gint compose_write_headers(Compose *compose, FILE *fp,
                        fprintf(fp, "From: %s\n", compose->account->address);
        }
        
-       slist_free_strings(compose->to_list);
-       g_slist_free(compose->to_list);
-       compose->to_list = NULL;
-
        /* To */
        compose_write_headers_from_headerlist(compose, fp, "To");
 #if 0 /* NEW COMPOSE GUI */
@@ -3188,9 +3184,6 @@ static gint compose_write_headers(Compose *compose, FILE *fp,
                }
        }
 #endif
-       slist_free_strings(compose->newsgroup_list);
-       g_slist_free(compose->newsgroup_list);
-       compose->newsgroup_list = NULL;
 
        /* Newsgroups */
        compose_write_headers_from_headerlist(compose, fp, "Newsgroups");
@@ -3251,12 +3244,6 @@ static gint compose_write_headers(Compose *compose, FILE *fp,
                }
        }
 #endif
-       /* something is needed to check if the mail
-          will be sent to anybody ... */
-       /* 
-       if (!is_draft && !compose->to_list && !compose->newsgroup_list)
-               return -1;
-       */
 
        /* Subject */
        str = gtk_entry_get_text(GTK_ENTRY(compose->subject_entry));