comparison lwlib/lwlib-Xm.c @ 458:c33ae14dd6d0 r21-2-44

Import from CVS: tag r21-2-44
author cvs
date Mon, 13 Aug 2007 11:42:25 +0200
parents 98528da0b7fc
children 4b7d425dd3c2
comparison
equal deleted inserted replaced
457:4b9290a33024 458:c33ae14dd6d0
887 val->edited = True; 887 val->edited = True;
888 } 888 }
889 else if (class == xmTextWidgetClass) 889 else if (class == xmTextWidgetClass)
890 { 890 {
891 if (val->value) 891 if (val->value)
892 free (val->value); 892 XtFree (val->value);
893 val->value = XmTextGetString (widget); 893 val->value = XmTextGetString (widget);
894 val->edited = True; 894 val->edited = True;
895 } 895 }
896 else if (class == xmTextFieldWidgetClass) 896 else if (class == xmTextFieldWidgetClass)
897 { 897 {
898 if (val->value) 898 if (val->value)
899 free (val->value); 899 XtFree (val->value);
900 val->value = XmTextFieldGetString (widget); 900 val->value = XmTextFieldGetString (widget);
901 val->edited = True; 901 val->edited = True;
902 } 902 }
903 else if (class == xmRowColumnWidgetClass) 903 else if (class == xmRowColumnWidgetClass)
904 { 904 {