Removed usage of deprecated gtkmm API.