[gnome-builder] libide/tweaks: only allow choice items into model
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide/tweaks: only allow choice items into model
- Date: Sat, 27 Aug 2022 08:27:26 +0000 (UTC)
commit 373fa2b11153a401f1222511f259ef09d7b4d49f
Author: Christian Hergert <chergert redhat com>
Date: Sat Aug 27 01:25:53 2022 -0700
libide/tweaks: only allow choice items into model
src/libide/tweaks/ide-tweaks-combo.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/libide/tweaks/ide-tweaks-combo.c b/src/libide/tweaks/ide-tweaks-combo.c
index fe00f7238..6ebb31f28 100644
--- a/src/libide/tweaks/ide-tweaks-combo.c
+++ b/src/libide/tweaks/ide-tweaks-combo.c
@@ -82,9 +82,11 @@ ide_tweaks_combo_visit_children_cb (IdeTweaksItem *item,
}
state->pos++;
+
+ return IDE_TWEAKS_ITEM_VISIT_ACCEPT_AND_CONTINUE;
}
- return IDE_TWEAKS_ITEM_VISIT_ACCEPT_AND_CONTINUE;
+ return IDE_TWEAKS_ITEM_VISIT_CONTINUE;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]