[Gpredict-svn] SF.net SVN: gpredict:[834] trunk
Real time satellite tracking and orbit prediction
Status: Beta
Brought to you by:
csete
|
From: <aa...@us...> - 2011-06-20 21:12:49
|
Revision: 834
http://gpredict.svn.sourceforge.net/gpredict/?rev=834&view=rev
Author: aa1vs
Date: 2011-06-20 21:12:43 +0000 (Mon, 20 Jun 2011)
Log Message:
-----------
Move log closing and module saving until after gtk has shutdown.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/main.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2011-06-20 13:07:45 UTC (rev 833)
+++ trunk/ChangeLog 2011-06-20 21:12:43 UTC (rev 834)
@@ -4,7 +4,10 @@
* src/gtk-polar-view.c
Change naos logic to avoid a daynum 2458849.5 (Y2021?) problem.
+ * src/main.c
+ Move log closing and module saving until after gtk has shut down.
+
2011-06-19 Charles Suprin <hamaa1vs at gmail.com>
* src/gtk-sat-map.c
Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c 2011-06-20 13:07:45 UTC (rev 833)
+++ trunk/src/main.c 2011-06-20 21:12:43 UTC (rev 834)
@@ -184,7 +184,14 @@
gtk_main ();
- g_option_context_free(context);
+ g_option_context_free(context);
+
+ sat_cfg_save ();
+ sat_log_close ();
+ sat_cfg_close ();
+
+
+
#ifdef WIN32
// Cleanup Windozze Sockets
CloseWinSock2();
@@ -368,9 +375,6 @@
sat_cfg_set_int (SAT_CFG_INT_WINDOW_WIDTH, w);
sat_cfg_set_int (SAT_CFG_INT_WINDOW_HEIGHT, h);
*/
- sat_cfg_save ();
- sat_log_close ();
- sat_cfg_close ();
/* exit Gtk+ */
gtk_main_quit ();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|