[balsa] balsa-icons: rename balsa_register_pixbufs()
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa] balsa-icons: rename balsa_register_pixbufs()
- Date: Sat, 17 Oct 2020 20:52:30 +0000 (UTC)
commit 55e2c7d6c0b1373d1a17fe56d804a1ad24cde80a
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Sat Oct 17 16:51:59 2020 -0400
balsa-icons: rename balsa_register_pixbufs()
to balsa_register_icon_names(), and drop its now unused parameter.
ChangeLog | 10 ++++++++++
src/balsa-icons.c | 2 +-
src/balsa-icons.h | 2 +-
src/main-window.c | 2 +-
4 files changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 7c0baa5a5..eeb423c44 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2020-10-17 Peter Bloomfield <pbloomfield bellsouth net>
+
+ balsa-icons: rename balsa_register_pixbufs()
+
+ to balsa_register_icon_names(), and drop its now unused parameter.
+
+ * src/balsa-icons.c (balsa_register_icon_names):
+ * src/balsa-icons.h:
+ * src/main-window.c (balsa_window_new):
+
2020-10-17 Peter Bloomfield <pbloomfield bellsouth net>
balsa-index: Set the "icon-name" property of the
diff --git a/src/balsa-icons.c b/src/balsa-icons.c
index 6b2eb6a59..4270db272 100644
--- a/src/balsa-icons.c
+++ b/src/balsa-icons.c
@@ -184,7 +184,7 @@ balsa_unregister_pixmaps(void)
}
void
-balsa_register_pixbufs(GtkWidget * widget)
+balsa_register_icon_names(void)
{
/* Icons for mailbox status column: */
libbalsa_mailbox_set_unread_icon("mail-unread");
diff --git a/src/balsa-icons.h b/src/balsa-icons.h
index 4e04e8468..69348d8a5 100644
--- a/src/balsa-icons.h
+++ b/src/balsa-icons.h
@@ -93,6 +93,6 @@
void balsa_register_pixmaps(void);
void balsa_unregister_pixmaps(void);
-void balsa_register_pixbufs(GtkWidget * widget);
+void balsa_register_icon_names(void);
const gchar * balsa_icon_id(const gchar * name);
#endif
diff --git a/src/main-window.c b/src/main-window.c
index cb501c3b1..795ee85af 100644
--- a/src/main-window.c
+++ b/src/main-window.c
@@ -2228,7 +2228,7 @@ balsa_window_new(GtkApplication *application)
bw_set_alt_bindings(window);
gtk_window_set_title(GTK_WINDOW(window), "Balsa");
- balsa_register_pixbufs(GTK_WIDGET(window));
+ balsa_register_icon_names();
model = balsa_window_get_toolbar_model();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]