ui/common/context.c

changeset 53
62205699cd0e
parent 52
25e5390cce41
child 88
04c81be1c5a0
equal deleted inserted replaced
52:25e5390cce41 53:62205699cd0e
129 129
130 //ucx_map_remove(doc->vars, key); // TODO: dont remove! 130 //ucx_map_remove(doc->vars, key); // TODO: dont remove!
131 } 131 }
132 } 132 }
133 133
134 docctx->obj->ctx->document = NULL; 134 if(docctx->obj) {
135 docctx->obj->ctx->document = NULL;
136 }
135 137
136 docctx->obj = NULL; 138 docctx->obj = NULL;
137 } 139 }
138 140
139 UiVar* uic_get_var(UiContext *ctx, char *name) { 141 UiVar* uic_get_var(UiContext *ctx, char *name) {

mercurial