[Gpredict-svn] SF.net SVN: gpredict:[591] trunk/src/gtk-polar-view.c
Real time satellite tracking and orbit prediction
Status: Beta
Brought to you by:
csete
From: <cs...@us...> - 2010-01-17 21:32:05
|
Revision: 591 http://gpredict.svn.sourceforge.net/gpredict/?rev=591&view=rev Author: csete Date: 2010-01-17 21:31:58 +0000 (Sun, 17 Jan 2010) Log Message: ----------- Applied patch 2930342 from Charles Suprin AA1VS. Modified Paths: -------------- trunk/src/gtk-polar-view.c Modified: trunk/src/gtk-polar-view.c =================================================================== --- trunk/src/gtk-polar-view.c 2010-01-17 21:26:17 UTC (rev 590) +++ trunk/src/gtk-polar-view.c 2010-01-17 21:31:58 UTC (rev 591) @@ -1009,7 +1009,13 @@ if (obj->showtrack) { - + if (obj->pass == NULL) { + sat_log_log (SAT_LOG_LEVEL_BUG, + _("%s:%d: Failed to get satellite pass."), + __FILE__, __LINE__); + return; + } + /* create points */ num = g_slist_length (obj->pass->details); @@ -1139,6 +1145,13 @@ return; } + if (obj->pass == NULL) { + sat_log_log (SAT_LOG_LEVEL_BUG, + _("%s:%d: Failed to get satellite pass."), + __FILE__, __LINE__); + return; + } + root = goo_canvas_get_root_item_model (GOO_CANVAS (pv->canvas)); /* add sky track */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |