[balsa/wip/gtk4: 158/351] More g_object_ref fallout
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/wip/gtk4: 158/351] More g_object_ref fallout
- Date: Wed, 23 May 2018 21:30:13 +0000 (UTC)
commit 7fd5647946c659684604878f898699b39b7dd96c
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Fri Feb 9 10:55:32 2018 -0500
More g_object_ref fallout
In glib-2.56, g_object_ref() propagates the type from its argument
to its return type, which can raise incompatible-pointer-type
warnings; previously it returned a gpointer, which could conceal
a coding error.
* src/main-window.c (bw_check_mailbox_done),
(bw_check_mailbox_list): make the mailbox member of
bw_pop_mbox_t a LibBalsaMailbox, so that it can accept the value
of g_object_ref(mailbox) without a warning; rename it from
'object' to 'mailbox' because, well, that's what it is.
ChangeLog | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index ddb1aaf..0a44bf5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2018-02-09 Peter Bloomfield <pbloomfield bellsouth net>
+
+ In glib-2.56, g_object_ref() propagates the type from its argument
+ to its return type, which can raise incompatible-pointer-type
+ warnings; previously it returned a gpointer, which could conceal
+ a coding error.
+
+ * src/main-window.c (bw_check_mailbox_done),
+ (bw_check_mailbox_list): make the mailbox member of
+ bw_pop_mbox_t a LibBalsaMailbox, so that it can accept the value
+ of g_object_ref(mailbox) without a warning; rename it from
+ 'object' to 'mailbox' because, well, that's what it is.
+
2018-02-07 Peter Bloomfield <pbloomfield bellsouth net>
* libbalsa/mailbox.c (lbm_sort): check for zero-length array.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]