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 8dfd077a4d6ef25f26f99a49bb71d7ceb78a3a52..85cbb89c8e8e736226ab7893e285ed9c0e5d2bdd 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
 
        * src/compose.c
                some fixes when mail are sent or
index 174fee1cf7aca0ce135db534ee345476c0a27ded..0ca29c9e7dad49934348732f7887671ca7381e84 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=6
 MICRO_VERSION=5
 INTERFACE_AGE=0
 BINARY_AGE=0
 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
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl
index d0b430fa18b08a9a55221d1fae00398cef433054..d37c050087b374cc0b691d8cbdf64d374b5dd884 100644 (file)
@@ -3163,10 +3163,6 @@ static gint compose_write_headers(Compose *compose, FILE *fp,
                        fprintf(fp, "From: %s\n", compose->account->address);
        }
        
                        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 */
        /* 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
                }
        }
 #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");
 
        /* Newsgroups */
        compose_write_headers_from_headerlist(compose, fp, "Newsgroups");
@@ -3251,12 +3244,6 @@ static gint compose_write_headers(Compose *compose, FILE *fp,
                }
        }
 #endif
                }
        }
 #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));
 
        /* Subject */
        str = gtk_entry_get_text(GTK_ENTRY(compose->subject_entry));