Mercurial > pidgin.yaz
changeset 18504:34ed4e7c08cb
Crash fixes from Eric Polino.
applied partial changes from 603ef83ff93243a1829fcf4fd69ec911b42d4c6b
through 28530bc53fbe271f49ca1baa55938a067f20aed8
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Thu, 12 Jul 2007 03:17:32 +0000 |
parents | 58d1df75c91c |
children | 8925181f26ec |
files | finch/libgnt/gntwm.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/libgnt/gntwm.c Wed Jul 11 19:27:39 2007 +0000 +++ b/finch/libgnt/gntwm.c Thu Jul 12 03:17:32 2007 +0000 @@ -829,6 +829,9 @@ if (wm->_list.window) return TRUE; + if(!wm->cws->ordered) + return FALSE; + shift_window(wm, wm->cws->ordered->data, -1); return TRUE; } @@ -840,6 +843,9 @@ if (wm->_list.window) return TRUE; + if(!wm->cws->ordered) + return FALSE; + shift_window(wm, wm->cws->ordered->data, 1); return TRUE; }