[Commits] [SCM] claws branch, gtk2, updated. 3.19.1-20-g56ea75979
mones at claws-mail.org
mones at claws-mail.org
Mon Dec 12 13:22:19 UTC 2022
The branch, gtk2 has been updated
via 56ea75979429fd746248096548ca49ff18a2da59 (commit)
from cb77e0c9047b982af11e917e7cf85d5a66583730 (commit)
Summary of changes:
src/statusbar.c | 17 ++---------------
src/statusbar.h | 8 ++------
2 files changed, 4 insertions(+), 21 deletions(-)
- Log -----------------------------------------------------------------
commit 56ea75979429fd746248096548ca49ff18a2da59
Author: Ricardo Mones <ricardo at mones.org>
Date: Mon Dec 12 14:19:24 2022 +0100
Remove unused function statusbar_print()
Cherry-picked from bc5122372ce33ff6659c6e952b94fc8caa05a832
diff --git a/src/statusbar.c b/src/statusbar.c
index 3cc4511d1..1014c4b7a 100644
--- a/src/statusbar.c
+++ b/src/statusbar.c
@@ -1,6 +1,6 @@
/*
- * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2013 Hiroyuki Yamamoto and the Claws Mail team
+ * Claws Mail -- a GTK based, lightweight, and fast e-mail client
+ * Copyright (C) 1999-2022 the Claws Mail team and Hiroyuki Yamamoto
*
* 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
@@ -90,18 +89,6 @@ void statusbar_puts_all(const gchar *str)
statusbar_puts(GTK_STATUSBAR(cur->data), str);
}
-void statusbar_print(GtkStatusbar *statusbar, const gchar *format, ...)
-{
- va_list args;
- gchar buf[BUFFSIZE];
-
- va_start(args, format);
- g_vsnprintf(buf, sizeof(buf), format, args);
- va_end(args);
-
- statusbar_puts(statusbar, buf);
-}
-
void statusbar_print_all(const gchar *format, ...)
{
va_list args;
diff --git a/src/statusbar.h b/src/statusbar.h
index b3b5d4672..9829644ca 100644
--- a/src/statusbar.h
+++ b/src/statusbar.h
@@ -1,6 +1,6 @@
/*
- * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2013 Hiroyuki Yamamoto and the Claws Mail team
+ * Claws Mail -- a GTK based, lightweight, and fast e-mail client
+ * 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 __STATUSBAR_H__
@@ -27,9 +26,6 @@ GtkWidget *statusbar_create (void);
void statusbar_puts (GtkStatusbar *statusbar,
const gchar *str);
void statusbar_puts_all (const gchar *str);
-void statusbar_print (GtkStatusbar *statusbar,
- const gchar *format, ...)
- G_GNUC_PRINTF(2, 3);
void statusbar_print_all (const gchar *format, ...)
G_GNUC_PRINTF(1, 2);
void statusbar_pop_all (void);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list