# session_group_remove

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/session.c#L553
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-session-c-session_group_remove/

```c
static void session_group_remove(struct session *)
```

## Parameters

- `s` (`struct session *`)

## Called by

- [`session_destroy`](/en/tmux/latest/reference/c-function-session_destroy/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/session.c#L216)

## Other function references

- [`session_group_contains`](/en/tmux/latest/reference/c-function-session_group_contains/) (function)

## Referenced declarations

- [`session_group.name`](/en/tmux/latest/reference/c-struct-session_group-name/) (attribute)
- [`session`](/en/tmux/latest/reference/c-struct-session/) (struct)
- [`session_group.sessions`](/en/tmux/latest/reference/c-struct-session_group-sessions/) (attribute)
