After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 694441 - Remove some deprecated code
Remove some deprecated code
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2013-02-22 12:18 UTC by drago01
Modified: 2013-08-27 00:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ui: Don't use Clutter.Group (5.36 KB, patch)
2013-02-22 12:18 UTC, drago01
committed Details | Review
windowManager: Don't use show_all (920 bytes, patch)
2013-02-22 12:18 UTC, drago01
committed Details | Review

Description drago01 2013-02-22 12:18:43 UTC
See patches noticed while looking at something else.
Comment 1 drago01 2013-02-22 12:18:45 UTC
Created attachment 237169 [details] [review]
ui: Don't use Clutter.Group

It is deprecated use Clutter.Actor instead.
Comment 2 drago01 2013-02-22 12:18:49 UTC
Created attachment 237170 [details] [review]
windowManager: Don't use show_all

It is deprecated and does not make sense there anyway, so use show() instead.
Comment 3 Florian Müllner 2013-02-22 13:11:29 UTC
Review of attachment 237169 [details] [review]:

Sure.
Comment 4 Florian Müllner 2013-02-22 13:11:54 UTC
Review of attachment 237170 [details] [review]:

Go for it!
Comment 5 Florian Müllner 2013-02-22 13:13:15 UTC
Review of attachment 237169 [details] [review]:

::: js/ui/layout.js
@@ +1088,3 @@
         this._corner._delegate = this;
 
+        this.actor.add_child(this._corner);

Oh, this reminds me - we are using add_actor() in tons of places, maybe we should quickly sed it everywhere?
Comment 6 drago01 2013-02-22 13:29:18 UTC
Attachment 237169 [details] pushed as 627a241 - ui: Don't use Clutter.Group
Attachment 237170 [details] pushed as 9f3afdf - windowManager: Don't use show_all
Comment 7 drago01 2013-02-22 13:32:34 UTC
(In reply to comment #5)
> Review of attachment 237169 [details] [review]:
> 
> ::: js/ui/layout.js
> @@ +1088,3 @@
>          this._corner._delegate = this;
> 
> +        this.actor.add_child(this._corner);
> 
> Oh, this reminds me - we are using add_actor() in tons of places, maybe we
> should quickly sed it everywhere?

No simple sed does not work ... for instance the app-picker disappears as well as the windows in alt-tab etc.
Comment 8 Jasper St. Pierre (not reading bugmail) 2013-02-22 16:17:25 UTC
Some St widgets still use ClutterContainer overrides. In that case, add_child will not work.
Comment 9 Allan Day 2013-08-27 00:17:54 UTC
I see two patches that have been pushed, so closing as fixed. Reopen if you want.