diff options
author | Timo Sirainen <cras@irssi.org> | 2001-11-16 16:51:56 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-11-16 16:51:56 +0000 |
commit | 05d3bb58cb157078df72f53bd7777e476996b466 (patch) | |
tree | e62fcdde306d7dccca16a9fbc230e8f4da766c55 /src | |
parent | 8af17ef24cfb0410d4d2cc7fd86d15175266d5b6 (diff) | |
download | irssi-05d3bb58cb157078df72f53bd7777e476996b466.zip |
added assert to window_item_add().
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2034 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/core/window-items.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-common/core/window-items.c b/src/fe-common/core/window-items.c index 649241fb..0c81c282 100644 --- a/src/fe-common/core/window-items.c +++ b/src/fe-common/core/window-items.c @@ -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; |