comparison gtk4/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 85917c0c52f1
children ee1cfa7d645e
comparison
equal deleted inserted replaced
2743:a31c2e3a781e 2744:608796a91527
9492 9492
9493 /* Get the nth child at the top level */ 9493 /* Get the nth child at the top level */
9494 if (gtk_tree_model_iter_nth_child(GTK_TREE_MODEL(store), &iter, NULL, index)) 9494 if (gtk_tree_model_iter_nth_child(GTK_TREE_MODEL(store), &iter, NULL, index))
9495 { 9495 {
9496 /* Update the text */ 9496 /* Update the text */
9497 gtk_list_store_set(store, &iter, buffer); 9497 gtk_list_store_set(store, &iter, 0, buffer, -1);
9498 } 9498 }
9499 } 9499 }
9500 } 9500 }
9501 DW_FUNCTION_RETURN_NOTHING; 9501 DW_FUNCTION_RETURN_NOTHING;
9502 } 9502 }