Mercurial > pidgin
changeset 1425:3e6a17ae51e8
[gaim-migrate @ 1435]
fixes for if you sign on, close the ticker, and sign off within 60 seconds
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 25 Jan 2001 09:13:55 +0000 |
parents | 9d8cf2e12e68 |
children | de21a6790603 |
files | src/ticker.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ticker.c Thu Jan 25 00:54:42 2001 +0000 +++ b/src/ticker.c Thu Jan 25 09:13:55 2001 +0000 @@ -224,6 +224,8 @@ { if ( userclose == TRUE ) return FALSE; + if ( tickerwindow == NULL ) + return FALSE; gtk_ticker_remove( GTK_TICKER( ticker ), msgw ); return FALSE; } @@ -259,7 +261,8 @@ p = tickerbuds; } userclose = FALSE; - gtk_widget_hide( tickerwindow ); + if ( tickerwindow ) + gtk_widget_hide( tickerwindow ); } void