[gnome-builder] io: fix some deprecation warnings
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] io: fix some deprecation warnings
- Date: Wed, 5 May 2021 04:10:29 +0000 (UTC)
commit d236264b1d8d71c7abb9841a7ab5926ea0adcd9f
Author: Christian Hergert <chergert redhat com>
Date: Tue May 4 16:38:19 2021 -0700
io: fix some deprecation warnings
src/libide/io/ide-gfile.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libide/io/ide-gfile.c b/src/libide/io/ide-gfile.c
index 6a2061367..51b761f51 100644
--- a/src/libide/io/ide-gfile.c
+++ b/src/libide/io/ide-gfile.c
@@ -113,7 +113,7 @@ ide_path_is_ignored (const gchar *path)
{
GPatternSpec *pattern_spec = g_ptr_array_index (ignored, i);
- if (g_pattern_match (pattern_spec, len, name, reversed))
+ if (g_pattern_spec_match (pattern_spec, len, name, reversed))
{
ret = TRUE;
break;
@@ -165,7 +165,7 @@ ide_g_file_is_ignored (GFile *file)
{
GPatternSpec *pattern_spec = g_ptr_array_index (ignored, i);
- if (g_pattern_match (pattern_spec, len, name, reversed))
+ if (g_pattern_spec_match (pattern_spec, len, name, reversed))
{
ret = TRUE;
break;
@@ -474,7 +474,7 @@ populate_descendants_matching (GFile *file,
name = g_file_info_get_name (info);
file_type = g_file_info_get_file_type (info);
- if (g_pattern_match_string (spec, name))
+ if (g_pattern_spec_match_string (spec, name))
g_ptr_array_add (results, g_file_enumerator_get_child (enumerator, info));
if (!g_file_info_get_is_symlink (info) && file_type == G_FILE_TYPE_DIRECTORY)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]