--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Remove all colors from this palette that are not currently in use by the associated Image. This is an expensive operation. Returns the number of palette entries deallocated.
full_name: GD2::Palette#deallocate_unused
is_singleton: false
name: deallocate_unused
params: ()
visibility: public
