diff 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
line wrap: on
line diff
--- a/gtk4/dw.c	Mon Dec 20 14:19:43 2021 +0000
+++ b/gtk4/dw.c	Mon Dec 20 14:23:24 2021 +0000
@@ -9494,7 +9494,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);
          }
       }
    }