566 UiVar *var = NULL; |
566 UiVar *var = NULL; |
567 if(value) { |
567 if(value) { |
568 var = malloc(sizeof(UiVar)); |
568 var = malloc(sizeof(UiVar)); |
569 var->value = value; |
569 var->value = value; |
570 var->type = UI_VAR_SPECIAL; |
570 var->type = UI_VAR_SPECIAL; |
|
571 var->from = NULL; |
|
572 var->from_ctx = NULL; |
571 } |
573 } |
572 return create_textfield_var(obj, width, frameless, password, var); |
574 return create_textfield_var(obj, width, frameless, password, var); |
573 } |
575 } |
574 |
576 |
575 void ui_textfield_destroy(GtkWidget *object, UiTextField *textfield) { |
577 void ui_textfield_destroy(GtkWidget *object, UiTextField *textfield) { |