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

@ -406,7 +406,7 @@ const Calendar = new Lang.Class({
_buildHeader: function() {
let offsetCols = this._useWeekdate ? 1 : 0;
this.actor.destroy_children();
this.actor.destroy_all_children();
// Top line of the calendar '<| September 2009 |>'
this._topBox = new St.BoxLayout();
@ -685,7 +685,7 @@ const EventsList = new Lang.Class({
},
_showOtherDay: function(day) {
this.actor.destroy_children();
this.actor.destroy_all_children();
let dayBegin = _getBeginningOfDay(day);
let dayEnd = _getEndOfDay(day);
@ -702,7 +702,7 @@ const EventsList = new Lang.Class({
},
_showToday: function() {
this.actor.destroy_children();
this.actor.destroy_all_children();
let now = new Date();
let dayBegin = _getBeginningOfDay(now);