[Commits] [SCM] claws branch, gtk3, updated. 4.1.0-8-g1a0678541
paul at claws-mail.org
paul at claws-mail.org
Wed Apr 20 07:19:02 UTC 2022
The branch, gtk3 has been updated
via 1a06785416c9c1ed2990cd975ca23fca9fe7b030 (commit)
from 3769357f132ed88e1e6fb4950a82ff7633b7e5b1 (commit)
Summary of changes:
src/compose.c | 4 ++++
src/grouplistdialog.c | 5 ++++-
2 files changed, 8 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 1a06785416c9c1ed2990cd975ca23fca9fe7b030
Author: paul <paul at claws-mail.org>
Date: Wed Apr 20 08:18:58 2022 +0100
fix building with older GLIBs
diff --git a/src/compose.c b/src/compose.c
index b190cc663..60443a8aa 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -9745,7 +9745,11 @@ static void compose_ext_editor_closed_cb(GPid pid, gint exit_status, gpointer da
GtkTextIter start, end;
gchar *chars;
+#if GLIB_CHECK_VERSION(2,70,0)
if (!g_spawn_check_wait_status(exit_status, &error)) {
+#else
+ if (!g_spawn_check_exit_status(exit_status, &error)) {
+#endif
alertpanel_error(
_("External editor stopped with an error: %s"),
error ? error->message : _("Unknown error"));
diff --git a/src/grouplistdialog.c b/src/grouplistdialog.c
index 651a369ad..66d7bc03a 100644
--- a/src/grouplistdialog.c
+++ b/src/grouplistdialog.c
@@ -449,8 +449,11 @@ static void grouplist_dialog_set_list(const gchar *pattern, gboolean refresh)
for (cur = group_list; cur != NULL ; cur = cur->next) {
NewsGroupInfo *ginfo = (NewsGroupInfo *)cur->data;
-
+#if GLIB_CHECK_VERSION(2,70,0)
if (g_pattern_spec_match_string(pspec, ginfo->name)) {
+#else
+ if (g_pattern_match_string(pspec, ginfo->name)) {
+#endif
node = grouplist_create_branch(ginfo, pattern);
if (g_slist_find_custom(subscribed, ginfo->name,
(GCompareFunc)g_ascii_strcasecmp)
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list