767 } else { |
767 } else { |
768 fprintf(stderr, "UiError: ui_bar_set_document: Cannot set document"); |
768 fprintf(stderr, "UiError: ui_bar_set_document: Cannot set document"); |
769 } |
769 } |
770 } |
770 } |
771 |
771 |
772 void ui_tab_detach_document(UiContext *ctx, void *document) { |
772 void ui_tab_detach_document(UiContext *ctx) { |
773 uic_context_detach_document(ctx->parent, document); |
773 uic_context_detach_document(ctx->parent); |
774 } |
774 } |
775 |
775 |
776 |
776 |
777 /* |
777 /* |
778 * -------------------- Layout Functions -------------------- |
778 * -------------------- Layout Functions -------------------- |