talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 81df7735029abae33a05f9852f73f49bbb14a417
parent 15f792b7ecc27a055afe119bb3caf812fdeada79
Author: Ricardo Mones <ricardo@mones.org>
Date:   Sat, 19 Nov 2022 20:54:55 +0100

Remove unused function setup()

Completes commit 8fa3ba47460dae9351a25f084fb05362fbf5c57e

Diffstat:
Msrc/setup.c | 20++------------------
Msrc/setup.h | 4+---
2 files changed, 3 insertions(+), 21 deletions(-)

diff --git 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 @@ -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__ */