GtkContainer::unregister_toplevel

void unregister_toplevel(void);

unregister_toplevel() removes the calling container from an internal array of widgets having toplevel status. Note that the container must first have been prepended to this array using register_toplevel() ; simply declaring a container as toplevel does not add it to the registry.