From 8890b6de40c8cbcb607ddfcc93514ab0341f1a93 Mon Sep 17 00:00:00 2001 From: Bart Hakvoort Date: Fri, 6 Jan 2006 22:55:11 +0000 Subject: [PATCH] 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) --- ChangeLog | 5 +++++ src/VBox_VisualDisk.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 40e665b3..51efb678 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-01-06 Bart Hakvoort + + * src/VBox_VisualDisk.cc: replaced free_color() with deprecated + free_colors() to allow building with gtkmm-2.6 (#326013) + 2006-01-05 Bart Hakvoort * include/Device.h, diff --git a/src/VBox_VisualDisk.cc b/src/VBox_VisualDisk.cc index 9fd3ec20..88a4a178 100644 --- a/src/VBox_VisualDisk.cc +++ b/src/VBox_VisualDisk.cc @@ -452,7 +452,7 @@ void VBox_VisualDisk::free_colors( std::vector & 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 ) ;