Mercurial > dwindows
diff gtk3/dw.c @ 2744:608796a91527
GTK3/4: Committing a fix from Mark Hessling for dw_listbox_set_text().
Not sure how this worked in the past, but hopefully this fixes it!
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 20 Dec 2021 14:23:24 +0000 |
parents | 3b3be9f7f452 |
children | 1f2c4f7aca4b |
line wrap: on
line diff
--- a/gtk3/dw.c Mon Dec 20 14:19:43 2021 +0000 +++ b/gtk3/dw.c Mon Dec 20 14:23:24 2021 +0000 @@ -10828,7 +10828,7 @@ if (gtk_tree_model_iter_nth_child(GTK_TREE_MODEL(store), &iter, NULL, index)) { /* Update the text */ - gtk_list_store_set(store, &iter, buffer); + gtk_list_store_set(store, &iter, 0, buffer, -1); } } }