Use the gasmix straight off

In calculate_deco_information we compute the ppo2 so we can graph it,
but if we send that ppo2 on to add_segment it will just reverse the
computation and introduce errors.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Round up times instead of down

When seeing that you have 0 min left, it looks kinda wierd, so rather
round up instead of down.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Make the 'Gtk' branch compile on Fedora 20

This makes our old Gtk branch work with F20, using gtk3.

Not seriously tested, and there are a few warnings, but it seems to
superficially work. Since the gtk3 support infrastructure was already
merged long ago, there's only one actual change to the source code,
the rest is all just the package name changes for gtk3 and the change
to the osmgpsmaps naming.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

 Makefile  | 8 ++++----
 gtk-gui.c | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Fix occasional crash when opening files

Not sure why I see this in some situations, but since the Gtk branch is
tentatively maintained at best, I think this is at least a straight
forward fix.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>