WIP: attention: déclaration implicite de la fonction « gtk_tree_expander_set_expanded » << remove'tree_' (line 58) and it runs (without widgets...)

This commit is contained in:
Jean Sirmai 2024-02-11 09:50:06 +01:00
parent 0c9ff6c82e
commit e1e3d64371
Signed by: jean
GPG Key ID: FB3115C340E057E3
1 changed files with 1 additions and 1 deletions

View File

@ -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) // Determine if this item should have an expander (i.e., if it has children)
GListModel* child_model = create_child_model (text); 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 g_object_unref (child_model); // Cleanup
} }