[gnome-builder] code-index: use g_pattern_spec_match()
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] code-index: use g_pattern_spec_match()
- Date: Wed, 5 May 2021 15:25:50 +0000 (UTC)
commit 28f373d02eccc0f380b2c43784d84d771adc1001
Author: Christian Hergert <chergert redhat com>
Date: Wed May 5 08:24:45 2021 -0700
code-index: use g_pattern_spec_match()
src/plugins/code-index/indexer-info.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/code-index/indexer-info.c b/src/plugins/code-index/indexer-info.c
index 432b00513..5f1ca35dd 100644
--- a/src/plugins/code-index/indexer-info.c
+++ b/src/plugins/code-index/indexer-info.c
@@ -139,7 +139,7 @@ indexer_info_matches (const IndexerInfo *info,
{
GPatternSpec *spec = g_ptr_array_index (info->specs, i);
- if (g_pattern_match (spec, len, filename, filename_reversed))
+ if (g_pattern_spec_match (spec, len, filename, filename_reversed))
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]