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:
Bart Hakvoort 2006-01-06 22:55:11 +00:00
parent 819472e328
commit 8890b6de40
2 changed files with 6 additions and 1 deletions

View File

@ -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,

View File

@ -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 ) ;