]> git.tdb.fi Git - ext/subsurface.git/commit
Fix progress bar during libdivecomputer imports
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 22 Sep 2011 23:38:24 +0000 (16:38 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 22 Sep 2011 23:38:24 +0000 (16:38 -0700)
commitc0adfdc41bc5bea580f85a29dc073678fcb617e8
treea53cf9fac37cd9bad541178b75afdb5974bfdd60
parent15463fdeb26ed1b5fdff62e4721a6dbbc507cefc
Fix progress bar during libdivecomputer imports

As reported by Mauro Dreissig, the progress bar doesn't work and causes
a SIGSEGV due to a missing allocation.  The code broke when Dirk
separated out the GUI from the core code, and I hadn't tried
divecomputer downloads since.

Reported-by: Mauro Dreissig <mukadr@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
gtk-gui.c
libdivecomputer.c
libdivecomputer.h