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

Warnings when compiling on elementary OS 6 #14

Open
maxengel opened this issue Aug 17, 2021 · 1 comment
Open

Warnings when compiling on elementary OS 6 #14

maxengel opened this issue Aug 17, 2021 · 1 comment

Comments

@maxengel
Copy link

These aren't breaking errors, but I got the following when building from source on elementary OS 6:

[3/15] Compiling Vala source ../src/Indicator.vala ../src/Widgets/PopoverWidget.vala ../src/Widgets/StatusIndicator.v...s/SearchHeader.vala ../src/Widgets/ServiceSwitcher.vala ../src/Services/Dropbox.vala ../src/Services/DirMonitor.vala.
../src/Widgets/PopoverWidget.vala:24.3-24.46: warning: `Wingpanel.Widgets.Switch' has been deprecated since 3.0.0. Use Granite.SwitchModelButton
../src/Widgets/FileEntry.vala:9.5-9.36: warning: `GLib.TimeVal' has been deprecated since 2.62
../src/Widgets/FileEntry.vala:35.33-35.58: warning: `GLib.FileInfo.get_modification_time' has been deprecated since 2.62
../src/Widgets/RecentFiles.vala:161.30-161.56: warning: `GLib.FileInfo.get_modification_time' has been deprecated since 2.62
../src/Widgets/RecentFiles.vala:162.30-162.56: warning: `GLib.FileInfo.get_modification_time' has been deprecated since 2.62
../src/Widgets/RecentFiles.vala:57.7-57.22: warning: delegates with scope="async" must be owned
      ThreadFunc<bool> run = () => {
      ^^^^^^^^^^^^^^^^
../src/Services/Dropbox.vala:63.5-63.20: warning: delegates with scope="async" must be owned
    ThreadFunc<bool> run = () => {
    ^^^^^^^^^^^^^^^^
../src/Widgets/PopoverWidget.vala:130.9-130.24: warning: delegates with scope="async" must be owned
        ThreadFunc<bool> run = () => {
        ^^^^^^^^^^^^^^^^
../src/Services/DirMonitor.vala:38.34-38.59: warning: `GLib.FileInfo.get_modification_time' has been deprecated since 2.62
../src/Services/DirMonitor.vala:89.39-89.64: warning: `GLib.FileInfo.get_modification_time' has been deprecated since 2.62
../src/Services/DirMonitor.vala:34.13-34.28: warning: delegates with scope="async" must be owned
            ThreadFunc<bool> run = () => {
            ^^^^^^^^^^^^^^^^
Compilation succeeded - 11 warning(s)
[15/15] Linking target libcom.github.rbribeiro.wingpanel-indicator-dropbox.so.
@perchard
Copy link

Yes, I experience the same

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

2 participants