[Gpredict-svn] SF.net SVN: gpredict: [37] trunk/src/rot-ctrl-window.c
Real time satellite tracking and orbit prediction
Status: Beta
Brought to you by:
csete
From: <cs...@us...> - 2008-04-24 20:53:46
|
Revision: 37 http://gpredict.svn.sourceforge.net/gpredict/?rev=37&view=rev Author: csete Date: 2008-04-24 13:53:51 -0700 (Thu, 24 Apr 2008) Log Message: ----------- Minor fixes to make new code compile. Modified Paths: -------------- trunk/src/rot-ctrl-window.c Modified: trunk/src/rot-ctrl-window.c =================================================================== --- trunk/src/rot-ctrl-window.c 2008-04-24 20:49:22 UTC (rev 36) +++ trunk/src/rot-ctrl-window.c 2008-04-24 20:53:51 UTC (rev 37) @@ -33,9 +33,11 @@ # include <build-config.h> #endif -#incude "rot-ctrl-window.h" +#include "rot-ctrl-window.h" +static gboolean window_is_open = FALSE; + /** \brief Open rotator control window */ void rot_ctrl_window_open () { @@ -46,14 +48,14 @@ } /* create the window */ - + window_is_open = TRUE; } /** \brief Close rotator control window */ -void rot_ctrl_window_close (void); +void rot_ctrl_window_close () { if (window_is_open) { - + window_is_open = FALSE; } else { sat_log_log (SAT_LOG_LEVEL_BUG, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |