Stop using g_pattern_match_string

It has been deprecated in favor of g_pattern_spec_match_string.
This commit is contained in:
Matthias Clasen 2024-09-25 10:55:36 +02:00
parent 8c04801f6a
commit fcc0f243cf

View File

@ -559,7 +559,7 @@ main (int argc, char **argv)
for (i = 0; i < G_N_ELEMENTS (functions); i++)
{
if (!g_pattern_match_string (matcher, functions[i].name))
if (!g_pattern_spec_match_string (matcher, functions[i].name))
continue;
node = functions[i].func (n);