tgtk_entry_set_text now really does set the text, rather than just inserting at position 0. - vaccinewars - be a doctor and try to vaccinate the world
 (HTM) git clone git://src.adamsgaard.dk/vaccinewars
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit ba00d9a6867fc000f722954e0685bd0611bb197c
 (DIR) parent e506b024d05779ac80a46e8a130a2725c2d0991d
 (HTM) Author: Ben Webb <ben@salilab.org>
       Date:   Mon, 25 Feb 2002 19:52:43 +0000
       
       gtk_entry_set_text now really does set the text, rather than just inserting
       at position 0.
       
       
       Diffstat:
         M src/gtkport/gtkport.c               |       1 +
       
       1 file changed, 1 insertion(+), 0 deletions(-)
       ---
 (DIR) diff --git a/src/gtkport/gtkport.c b/src/gtkport/gtkport.c
       t@@ -4681,6 +4681,7 @@ void gtk_entry_set_text(GtkEntry *entry, const gchar *text)
        {
          int pos = 0;
        
       +  gtk_editable_delete_text(GTK_EDITABLE(entry), 0, -1);
          gtk_editable_insert_text(GTK_EDITABLE(entry), text, strlen(text), &pos);
        }