mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
xwayland-grab-keyboard: Switch to g_pattern_spec_match_string()
The g_pattern_match_string() variant is deprecated, switch to the properly namespaced one. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1941>
This commit is contained in:
@ -182,8 +182,8 @@ application_is_in_pattern_array (MetaWindow *window,
|
||||
{
|
||||
GPatternSpec *pattern = (GPatternSpec *) g_ptr_array_index (pattern_array, i);
|
||||
|
||||
if (g_pattern_match_string (pattern, class) ||
|
||||
g_pattern_match_string (pattern, name))
|
||||
if (g_pattern_spec_match_string (pattern, class) ||
|
||||
g_pattern_spec_match_string (pattern, name))
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user