From 84708d72408d14789bf1635814797f2095136ba7 Mon Sep 17 00:00:00 2001 From: Alfons Hoogervorst Date: Sun, 27 Jan 2002 16:24:59 +0000 Subject: [PATCH] don't delete messages... --- ChangeLog.claws | 7 +++++++ configure.in | 2 +- src/news.c | 14 -------------- 3 files changed, 8 insertions(+), 15 deletions(-) diff --git a/ChangeLog.claws b/ChangeLog.claws index 5012b2cbf..bc2501574 100644 --- a/ChangeLog.claws +++ b/ChangeLog.claws @@ -1,3 +1,10 @@ +2002-01-27 [alfons] 0.7.0claws34 + + * src/news.c + make sylpheed believe it can delete a news message... + (messages are NOT deleted, maybe we should remove + processing from the folder properties after all.) + 2002-01-27 [alfons] 0.7.0claws33 * src/folder.c diff --git a/configure.in b/configure.in index 5aa77272d..34420bba6 100644 --- a/configure.in +++ b/configure.in @@ -8,7 +8,7 @@ MINOR_VERSION=7 MICRO_VERSION=0 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=claws33 +EXTRA_VERSION=claws34 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION dnl set $target diff --git a/src/news.c b/src/news.c index abb3de512..8e8aa2b71 100644 --- a/src/news.c +++ b/src/news.c @@ -509,20 +509,6 @@ static gint news_get_article_cmd(NNTPSession *session, const gchar *cmd, static gint news_remove_msg(Folder *folder, FolderItem *item, gint num) { - gchar *file; - - g_return_val_if_fail(item != NULL, -1); - - file = news_fetch_msg(folder, item, num); - g_return_val_if_fail(file != NULL, -1); - - if (unlink(file) < 0) { - FILE_OP_ERROR(file, "unlink"); - g_free(file); - return -1; - } - - g_free(file); return 0; } -- 2.25.1