talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 7db4f9d9641c74147d330a024ed1865a772176ad
parent b9f9b4718d21a7ed7b203dc3c93159d50d3af664
Author: paul <paul@claws-mail.org>
Date:   Thu, 14 Apr 2022 14:02:00 +0100

replace deprecated g_pattern_match_string()

Diffstat:
Msrc/grouplistdialog.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/grouplistdialog.c b/src/grouplistdialog.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 @@ -450,7 +450,7 @@ 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 (g_pattern_match_string(pspec, ginfo->name)) { + if (g_pattern_spec_match_string(pspec, ginfo->name)) { node = grouplist_create_branch(ginfo, pattern); if (g_slist_find_custom(subscribed, ginfo->name, (GCompareFunc)g_ascii_strcasecmp)