[Commits] [SCM] claws branch, master, updated. 4.1.1-12-g81df77350
mones at claws-mail.org
mones at claws-mail.org
Sat Nov 19 19:59:12 CET 2022
The branch, master has been updated
via 81df7735029abae33a05f9852f73f49bbb14a417 (commit)
from 15f792b7ecc27a055afe119bb3caf812fdeada79 (commit)
Summary of changes:
src/setup.c | 20 ++------------------
src/setup.h | 4 +---
2 files changed, 3 insertions(+), 21 deletions(-)
- Log -----------------------------------------------------------------
commit 81df7735029abae33a05f9852f73f49bbb14a417
Author: Ricardo Mones <ricardo at mones.org>
Date: Sat Nov 19 20:54:55 2022 +0100
Remove unused function setup()
Completes commit 8fa3ba47460dae9351a25f084fb05362fbf5c57e
diff --git a/src/setup.c b/src/setup.c
index 50c2825ad..5382a6897 100644
--- a/src/setup.c
+++ b/src/setup.c
@@ -1,6 +1,6 @@
/*
* Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team
+ * Copyright (C) 1999-2022 Hiroyuki Yamamoto and the Claws Mail team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
*/
#ifdef HAVE_CONFIG_H
@@ -67,21 +66,6 @@ gboolean setup_write_mailbox_path(MainWindow *mainwin, const gchar *path)
return TRUE;
}
-void setup(MainWindow *mainwin)
-{
- gchar *path;
-
- path = input_dialog
- (_("Mailbox setting"),
- _("First, you have to set the location of mailbox.\n"
- "You can use existing mailbox in MH format\n"
- "if you have the one.\n"
- "If you're not sure, just select OK."),
- "Mail");
- setup_write_mailbox_path(mainwin, path);
- g_free(path);
-}
-
static void scan_tree_func(Folder *folder, FolderItem *item, gpointer data)
{
MainWindow *mainwin = (MainWindow *)data;
@@ -99,7 +83,7 @@ static void scan_tree_func(Folder *folder, FolderItem *item, gpointer data)
if (mainwin->statusbar)
gtk_statusbar_push(GTK_STATUSBAR(mainwin->statusbar),
mainwin->mainwin_cid, str);
-
+
if (mainwin->statusbar)
gtk_statusbar_pop(GTK_STATUSBAR(mainwin->statusbar),
mainwin->mainwin_cid);
diff --git a/src/setup.h b/src/setup.h
index d306ea94d..d61958c83 100644
--- a/src/setup.h
+++ b/src/setup.h
@@ -1,6 +1,6 @@
/*
* Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team
+ * Copyright (C) 1999-2022 Hiroyuki Yamamoto and the Claws Mail team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -14,7 +14,6 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
*/
#ifndef __SETUP_H__
@@ -24,7 +23,6 @@
#include "mainwindow.h"
-void setup(MainWindow *mainwin);
gboolean setup_write_mailbox_path(MainWindow *mainwin, const gchar *path);
#endif /* __SETUP_H__ */
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list