Exit when out of terminals or windows
authorIra W. Snyder <devel@irasnyder.com>
Sat, 19 Jan 2008 22:37:15 +0000 (14:37 -0800)
committerIra W. Snyder <devel@irasnyder.com>
Sat, 19 Jan 2008 22:37:15 +0000 (14:37 -0800)
commit445e2e17e311b7e3c438d4603f3baae39bf23fc8
tree57ced2422b10bd966c10aec52326a89bc0aef154
parentea7ec5693d350667c028e2e0f6d45da98f740125
Exit when out of terminals or windows

Previously, Tilda would continue to run even with no TildaTerminals
in the TildaWindow->terms array. A similar situation existed with the
Tilda->windows array.

This patch makes both places clean up after themselves and exit
their section when appropriate. The API isn't very good yet, it will
need to be improved in the future.
tilda-window.c
tilda.c
tilda.h