From e1e3d64371367662ed2636668d3f17c193d3d24e Mon Sep 17 00:00:00 2001 From: Jean Sirmai Date: Sun, 11 Feb 2024 09:50:06 +0100 Subject: [PATCH] =?UTF-8?q?WIP:=20attention:=20d=C3=A9claration=20implicit?= =?UTF-8?q?e=20de=20la=20fonction=20=C2=AB=C2=A0gtk=5Ftree=5Fexpander=5Fse?= =?UTF-8?q?t=5Fexpanded=C2=A0=C2=BB=20=20<<=20=20remove'tree=5F'=20(line?= =?UTF-8?q?=2058)=20and=20it=20runs=20(without=20widgets...)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ui/sand_box.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/sand_box.c b/src/ui/sand_box.c index 6415dba..0dcda39 100644 --- a/src/ui/sand_box.c +++ b/src/ui/sand_box.c @@ -55,7 +55,7 @@ static void on_bind_list_item_cb (GtkListItemFactory* factory, GtkListItem* list // Determine if this item should have an expander (i.e., if it has children) GListModel* child_model = create_child_model (text); - if (child_model) gtk_expander_set_expanded (GTK_TREE_EXPANDER (expander), TRUE); + if (child_model) gtk_tree_expander_set_expanded (GTK_TREE_EXPANDER (expander), TRUE); g_object_unref (child_model); // Cleanup }