[balsa/wip/gtk4: 115/351] Use g_set_object to store icons
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/wip/gtk4: 115/351] Use g_set_object to store icons
- Date: Wed, 23 May 2018 21:26:36 +0000 (UTC)
commit ee481742a9f138c6ea92b033df2ec242b339306b
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Mon Jan 8 13:07:08 2018 -0500
Use g_set_object to store icons
libbalsa/address-view.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libbalsa/address-view.c b/libbalsa/address-view.c
index a9f2e7b..5c775e7 100644
--- a/libbalsa/address-view.c
+++ b/libbalsa/address-view.c
@@ -1248,17 +1248,17 @@ libbalsa_address_view_get_list(LibBalsaAddressView * address_view,
void
libbalsa_address_view_set_book_icon(GdkPixbuf * book_icon)
{
- lbav_book_icon = book_icon;
+ g_set_object(&lbav_book_icon, book_icon);
}
void
libbalsa_address_view_set_close_icon(GdkPixbuf * close_icon)
{
- lbav_close_icon = close_icon;
+ g_set_object(&lbav_close_icon, close_icon);
}
void
libbalsa_address_view_set_drop_down_icon(GdkPixbuf * drop_down_icon)
{
- lbav_drop_down_icon = drop_down_icon;
+ g_set_object(&lbav_drop_down_icon, drop_down_icon);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]