mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 20:00:23 +02:00
added assert to window_item_add().
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2034 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
8af17ef24c
commit
05d3bb58cb
1 changed files with 1 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ void window_item_add(WINDOW_REC *window, WI_ITEM_REC *item, int automatic)
|
|||
{
|
||||
g_return_if_fail(window != NULL);
|
||||
g_return_if_fail(item != NULL);
|
||||
g_return_if_fail(item->window == NULL);
|
||||
|
||||
item->window = window;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue