ui: Don't use Clutter.Group

It is deprecated use Clutter.Actor instead.

https://bugzilla.gnome.org/show_bug.cgi?id=694441
This commit is contained in:
Adel Gadllah
2013-02-22 12:23:56 +01:00
parent acffd1e792
commit 627a2412d2
6 changed files with 13 additions and 13 deletions

View File

@ -1075,7 +1075,7 @@ const HotCorner = new Lang.Class({
// multiple times due to an accidental jitter.
this._entered = false;
this.actor = new Clutter.Group({ name: 'hot-corner-environs',
this.actor = new Clutter.Actor({ name: 'hot-corner-environs',
width: 3,
height: 3,
reactive: true });
@ -1087,7 +1087,7 @@ const HotCorner = new Lang.Class({
reactive: true });
this._corner._delegate = this;
this.actor.add_actor(this._corner);
this.actor.add_child(this._corner);
if (Clutter.get_default_text_direction() == Clutter.TextDirection.RTL) {
this._corner.set_position(this.actor.width - this._corner.width, 0);