[Commits] [SCM] claws branch, master, updated. 4.1.1-24-gbc5122372

mones at claws-mail.org mones at claws-mail.org
Mon Dec 12 13:22:20 UTC 2022


The branch, master has been updated
       via  bc5122372ce33ff6659c6e952b94fc8caa05a832 (commit)
      from  3476a5c7e4a7e77ccd474efac6a7156df973db1e (commit)

Summary of changes:
 src/statusbar.c | 15 +--------------
 src/statusbar.h |  6 +-----
 2 files changed, 2 insertions(+), 19 deletions(-)


- Log -----------------------------------------------------------------
commit bc5122372ce33ff6659c6e952b94fc8caa05a832
Author: Ricardo Mones <ricardo at mones.org>
Date:   Mon Dec 12 14:19:24 2022 +0100

    Remove unused function statusbar_print()

diff --git a/src/statusbar.c b/src/statusbar.c
index 3179896e3..c10c29727 100644
--- a/src/statusbar.c
+++ b/src/statusbar.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2021 the Claws Mail team and Hiroyuki Yamamoto
+ * 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
@@ -94,18 +93,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 b6976b430..08bab7d1e 100644
--- a/src/statusbar.h
+++ b/src/statusbar.h
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2013 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 __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