ui/common/object.c

changeset 440
7c4b9cba09ca
parent 406
0ebf9d7b23e8
equal deleted inserted replaced
439:bf7084544cb1 440:7c4b9cba09ca
85 ev.obj = obj; 85 ev.obj = obj;
86 ev.eventdata = NULL; 86 ev.eventdata = NULL;
87 ev.intval = 0; 87 ev.intval = 0;
88 obj->ctx->close_callback(&ev, obj->ctx->close_data); 88 obj->ctx->close_callback(&ev, obj->ctx->close_data);
89 } 89 }
90 cxMempoolDestroy(obj->ctx->mp); 90 cxMempoolFree(obj->ctx->mp);
91 } 91 }
92 92
93 UiObject* uic_object_new(UiObject *toplevel, UIWIDGET widget) { 93 UiObject* uic_object_new(UiObject *toplevel, UIWIDGET widget) {
94 return uic_ctx_object_new(toplevel->ctx, widget); 94 return uic_ctx_object_new(toplevel->ctx, widget);
95 } 95 }

mercurial