[gnome-builder] libide/tweaks: recurse into factories



commit db129944e92d8aeb68020847ccf123250666157d
Author: Christian Hergert <chergert redhat com>
Date:   Tue Aug 2 23:29:17 2022 -0700

    libide/tweaks: recurse into factories
    
    The recursion is where items are inflated.

 src/libide/tweaks/ide-tweaks-panel-list.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/tweaks/ide-tweaks-panel-list.c b/src/libide/tweaks/ide-tweaks-panel-list.c
index 2c0947ed4..e3f1d7b1a 100644
--- a/src/libide/tweaks/ide-tweaks-panel-list.c
+++ b/src/libide/tweaks/ide-tweaks-panel-list.c
@@ -74,7 +74,7 @@ panel_list_visitor (IdeTweaksItem *item,
 
   if (IDE_IS_TWEAKS_FACTORY (item) &&
       _ide_tweaks_factory_is_one_of (IDE_TWEAKS_FACTORY (item), &page_type, 1))
-    return IDE_TWEAKS_ITEM_VISIT_ACCEPT;
+    return IDE_TWEAKS_ITEM_VISIT_RECURSE;
 
   return IDE_TWEAKS_ITEM_VISIT_SKIP;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]