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

Support for GNOME 46 #281

Merged
merged 1 commit into from
Mar 25, 2024
Merged

Conversation

menocheck
Copy link

The Functions add and add_actor got removed in GNOME 46.

This fixes the error mentioned in #280

I did not test the changes on GNOME 45 but I guess it should still work.

@jfernandez
Copy link

+1

Those Functions were deprecated and got removed in GNOME 46
@menocheck
Copy link
Author

The function remove_actor also got removed: https://gjs-docs.gnome.org/clutter13/clutter.container#method-remove_actor

gnome-shell[79671]: Extension freon@UshakovVasilii_Github.yahoo.com: TypeError: this.container.get_parent().remove_actor is not a function

Stack trace:
    _positionInPanelChanged@file:///home/menocheck/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/extension.js:207:37
    enable@file:///home/menocheck/.local/share/gnome-shell/extensions/freon@UshakovVasilii_Github.yahoo.com/extension.js:990:25
    _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:266:38
    ...

I've updated the commit.

@UshakovVasilii UshakovVasilii merged commit 04de227 into UshakovVasilii:master Mar 25, 2024
@szpak szpak mentioned this pull request May 16, 2024
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

Successfully merging this pull request may close these issues.

3 participants