Use grits_object_destroy api and fix memory leaks
Update compat includes
Fix build with GTK 3 This mostly just comments out some deprecated functions. They're not particularly necessary so, but it would be good to find replacements eventually.
Convert GtkBox and GtkScale to GTK 3 version Also add a wrapper to keep the GTK 2 version compiling.
Switch to newer API for gps input sources
Save previous heading in case of nan For some reason my GPS is giving me NaN's instead of headings..
Improve shutdown code - Make dispose functions reentrant - Remove idle function from GPS plugin - Remove GPSd input from GPS plugin
Update GPS plugin reference handling Reference he viewer and prefs at creation and then unref them when it exits. This fixes avoid a double-unref. Also make the dispose function reentrant by setting the viewer field to NULL before unreferencing the viewer. (Dispose may be called recursively by glib when unreferencing other stuff)
Update GPS config formatting
Add GPS tracking plugin The plugin can be build by passing the --enable-gps flag to the configure script. The defaults is disabled for now. The GPS Plugin: - Displays the GPS status and location in the config area - Draws the current location in the viewer using a marker - Optionally displays a tracks of previous locations - Optionally follows the current location - Optionally logs the location to a text file The GPS plugin uses version 5 of the GPSd protocol, so it is only supported under Linux at this time.