summaryrefslogtreecommitdiff
path: root/src/gui/panels
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/panels')
-rw-r--r--src/gui/panels/bintree.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gui/panels/bintree.c b/src/gui/panels/bintree.c
index d45fa0b..ffecd6e 100644
--- a/src/gui/panels/bintree.c
+++ b/src/gui/panels/bintree.c
@@ -134,7 +134,7 @@ static bool populate_tree_with_portion(GBinPortion *, GBinPortion *, BinaryPorti
static void reload_portions_for_new_tree_view(const GBintreePanel *, GtkStatusStack *, activity_id_t, bintree_update_data *);
/* Met en surbrillance les éléments recherchés dans les noms. */
-static void update_bintree_column_in_tree_view(GtkTreeStore *, GtkTreeIter *, GBinPortion *, gint, const regmatch_t *);
+static void update_bintree_column_in_tree_view(GtkTreeStore *, GtkTreeIter *, GBinPortion *, BinaryTreeColumn, const regmatch_t *);
@@ -786,7 +786,7 @@ static void reload_portions_for_new_tree_view(const GBintreePanel *panel, GtkSta
* *
******************************************************************************/
-static void update_bintree_column_in_tree_view(GtkTreeStore *store, GtkTreeIter *iter, GBinPortion *portion, gint column, const regmatch_t *match)
+static void update_bintree_column_in_tree_view(GtkTreeStore *store, GtkTreeIter *iter, GBinPortion *portion, BinaryTreeColumn column, const regmatch_t *match)
{
const char *content; /* Contenu brut d'origine */
const mrange_t *range; /* Espace de portion à traiter */
@@ -824,6 +824,11 @@ static void update_bintree_column_in_tree_view(GtkTreeStore *store, GtkTreeIter
content = hrights;
break;
+ default:
+ assert(false);
+ content = NULL;
+ break;
+
}
value = build_highlighted_name(content, match, 0);