prevented a possible segfault at startup. Thanks to LarryT for finding
* src/DrawingAreaVisualDisk.cc: prevented a possible segfault at startup. Thanks to LarryT for finding this.
This commit is contained in:
parent
99cebc81d3
commit
b52bfbc308
|
@ -1,3 +1,8 @@
|
|||
2006-03-25 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||
|
||||
* src/DrawingAreaVisualDisk.cc: prevented a possible segfault at
|
||||
startup. Thanks to LarryT for finding this.
|
||||
|
||||
2006-03-24 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||
|
||||
* lots of cleanups in operationhandling. This resulted in cleaner/less
|
||||
|
|
|
@ -27,6 +27,8 @@ namespace GParted
|
|||
|
||||
DrawingAreaVisualDisk::DrawingAreaVisualDisk()
|
||||
{
|
||||
selected_vp = NULL ;
|
||||
|
||||
//set and allocated some standard colors
|
||||
color_used .set( Utils::Get_Color( GParted::FS_USED ) );
|
||||
get_colormap() ->alloc_color( color_used ) ;
|
||||
|
|
Loading…
Reference in New Issue