ui/gtk/text.c

changeset 2
ea89bbb0c4c8
parent 0
804d8803eade
child 3
c04433993fbb
equal deleted inserted replaced
1:fcacc15a2ef2 2:ea89bbb0c4c8
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) {

mercurial