st-container: Remove st_container_destroy_children

It was a simple wrapper around clutter_actor_destroy_all_children.

https://bugzilla.gnome.org/show_bug.cgi?id=670034
This commit is contained in:
Jasper St. Pierre
2012-02-16 13:27:09 -05:00
parent 72dad591fa
commit c892610f27
11 changed files with 11 additions and 25 deletions

View File

@ -105,7 +105,7 @@ const ModalDialog = new Lang.Class({
setButtons: function(buttons) {
let hadChildren = this._buttonLayout.get_children() > 0;
this._buttonLayout.destroy_children();
this._buttonLayout.destroy_all_children();
this._actionKeys = {};
for (let i = 0; i < buttons.length; i++) {