[gnome-builder] libide/gui: rely on search engine for max results
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide/gui: rely on search engine for max results
- Date: Wed, 20 Jul 2022 02:38:03 +0000 (UTC)
commit 6f17ccfbe4370e64ee736ff93b9a6762fc7772ee
Author: Christian Hergert <chergert redhat com>
Date: Tue Jul 19 19:21:27 2022 -0700
libide/gui: rely on search engine for max results
src/libide/gui/ide-search-popover.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/libide/gui/ide-search-popover.c b/src/libide/gui/ide-search-popover.c
index 1e53a9cb0..c55ae6bd3 100644
--- a/src/libide/gui/ide-search-popover.c
+++ b/src/libide/gui/ide-search-popover.c
@@ -29,8 +29,6 @@
#define LONG_SEARCH_DELAY_MSEC 300
#define SHORT_SEARCH_DELAY_MSEC 50
-#define MAX_RESULTS 1000 /* 0 for unlimited */
-
struct _IdeSearchPopover
{
GtkPopover parent_instance;
@@ -195,7 +193,7 @@ ide_search_popover_search_source_func (gpointer data)
ide_search_engine_search_async (self->search_engine,
query,
- MAX_RESULTS,
+ 0,
self->cancellable,
ide_search_popover_search_cb,
g_object_ref (self));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]