From 55f5dd461dda3bde7190c6e446b601c82195e5c7 Mon Sep 17 00:00:00 2001 From: Jean Sirmai Date: Wed, 31 Jan 2024 13:50:17 +0100 Subject: [PATCH] WIP: cleaned (at least previous work) > can now go on : gtk_tree_list_model_new() --- src/ui/sand_box.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui/sand_box.c b/src/ui/sand_box.c index e0675b5..7cc7ab3 100644 --- a/src/ui/sand_box.c +++ b/src/ui/sand_box.c @@ -67,9 +67,9 @@ static void on_selection_change (GtkStringList *my_selection_model, guint posit nombre d'éléments ayant changé d'état = %2d\n", g_list_model_get_n_items (G_LIST_MODEL (my_selection_model)), g_list_model_get_item_type(G_LIST_MODEL (my_selection_model)), - position, "debug", 0); - /* gtk_string_list_get_string (my_selection_model, position), // GTK_STRING_LIST ? */ - /* n_items ); */ + position, + gtk_string_object_get_string (g_list_model_get_item (my_selection_model, position)), + n_items); } //-------------------------------------------------------------------------------------------------------------------------------------------