Move drawing functions from shell-global into new shell-drawing.c file

Just to avoid shell-global.c bloat.
This commit is contained in:
Colin Walters
2009-07-31 16:32:24 -04:00
parent 0a1aac862f
commit 29ffa46d08
8 changed files with 236 additions and 219 deletions

View File

@ -162,9 +162,9 @@ ClockWidget.prototype = {
_updateCairo: function(time) {
let global = Shell.Global.get();
global.clutter_cairo_texture_draw_clock(this.collapsedActor,
time.getHours() % 12,
time.getMinutes());
Shell.draw_clock(this.collapsedActor,
time.getHours() % 12,
time.getMinutes());
}
};