diff -r dbde25a5bc53 -r c03c338a7dcf ui/gtk/container.c --- a/ui/gtk/container.c Tue Jan 24 18:46:47 2017 +0100 +++ b/ui/gtk/container.c Fri Nov 10 17:17:14 2017 +0100 @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright 2014 Olaf Wintermann. All rights reserved. + * Copyright 2017 Olaf Wintermann. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -481,8 +481,8 @@ //ctx->parent->document = document; } -void ui_tab_detach_document(UiContext *ctx, void *document) { - uic_context_detach_document(ctx->parent, document); +void ui_tab_detach_document(UiContext *ctx) { + uic_context_detach_document(ctx->parent); }