Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address gjs libraries deprecation warnings #54

Open
alessandrodolci opened this issue May 15, 2020 · 0 comments
Open

Address gjs libraries deprecation warnings #54

alessandrodolci opened this issue May 15, 2020 · 0 comments

Comments

@alessandrodolci
Copy link
Contributor

Last versions of Gnome Shell came with some changes to gjs libraries, which currently cause some warning messages to be thrown regarding some of the extension components.
Here is a brief description of the issues:

  • The output of some GObject functions has been changed from the custom ByteArray type to JS Uint8Array built-in type, as reported here: https://gitlab.gnome.org/GNOME/gjs/-/tags/1.53.90.

    • Obtaining a string representation of such types objects should now be done by explicitly calling the ByteArray toString method.
  • Access and usage of the actor property on UI GObject instances has been deprecated

    • We do so inside the DockerMenu and DockerSubMenuMenuItem classes, this should be addressed calling methods directly on the instance, instead of obtaining the actor property reference first.

Both of the issues have a warning status, not causing any break for the time being, but support of the old behaviors is not guaranteed by the libraries, so fixes should be applied to avoid further issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant