replaced free_color() with deprecated free_colors() to allow building with
* src/VBox_VisualDisk.cc: replaced free_color() with deprecated free_colors() to allow building with gtkmm-2.6 (#326013)
This commit is contained in:
parent
819472e328
commit
8890b6de40
|
@ -1,3 +1,8 @@
|
|||
2006-01-06 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||
|
||||
* src/VBox_VisualDisk.cc: replaced free_color() with deprecated
|
||||
free_colors() to allow building with gtkmm-2.6 (#326013)
|
||||
|
||||
2006-01-05 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||
|
||||
* include/Device.h,
|
||||
|
|
|
@ -452,7 +452,7 @@ void VBox_VisualDisk::free_colors( std::vector<visual_partition> & visual_partit
|
|||
{
|
||||
for ( unsigned int t = 0 ; t < visual_partitions .size() ; t++ )
|
||||
{
|
||||
this ->get_colormap() ->free_color( visual_partitions[ t ] .color ) ;
|
||||
this ->get_colormap() ->free_colors( visual_partitions[ t ] .color, 1 ) ;
|
||||
|
||||
if ( visual_partitions[ t ] .logicals .size() > 0 )
|
||||
free_colors( visual_partitions[ t ] .logicals ) ;
|
||||
|
|
Loading…
Reference in New Issue